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.
Rsoundio is a wrapper for libsoundio, a cross-platform realtime audio in- and output library.
The following backends are supported:
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.
Add it to the
dependencies section of your projects
[dependencies] rsoundio = "0.1.*"
cargo run --example sine
- add documentation
- implement remaining callback registrations for
write_stream_FMTaccept an iterator instead of a
rsoundio::ffiprivate and only export the enums
- publish on crates.io
- write examples
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.