Skip to content

Rust binding for libsound.io

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE_20
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

klingtnet/rsoundio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Rusty Wrapper for libsoundio

Please consider this library abandonware.

I will keep reviewing merge requests but I won't fix any bugs or add features myself, this is due to lack of time and also because I lost my interest in Rust.


Circle CI Crates.io rustdoc license dependency status

Rsoundio is a wrapper for libsoundio, a cross-platform realtime audio in- and output library.

The following backends are supported:

  • JACK
  • PulseAudio
  • ALSA
  • CoreAudio
  • WASAPI

For a comparison of libsoundio with other audio libaries, take a look at the wiki.


This is a work in progress and there are still some things that don't work, especially recording via input streams is not supported yet (see TODOs. Most of the input stream implementation can be copied from the output stream though.

Usage

Add it to the dependencies section of your projects Cargo.toml

[dependencies]
rsoundio = "0.1.*"

Example

cargo run --example sine

TODOs

  • add documentation
  • implement InStream
  • implement remaining callback registrations for SoundIo struct
  • let write_stream_FMT accept an iterator instead of a Vec<Vec<FMT>>
  • make rsoundio::ffi private and only export the enums
  • publish on crates.io
  • write examples

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Rust binding for libsound.io

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE_20
MIT
LICENSE_MIT

Stars

Watchers

Forks

Packages

No packages published

Languages