Skip to content

RustAudio/rodio

Repository files navigation

Audio playback library

Crates.io Version Crates.io Downloads Build Status

Rust playback library.

Playback is handled by cpal. Format decoding can be handled either by Symphonia, or by format-specific decoders:

See the docs for more details on backends.

The documentation contains an introduction to the library.

Dependencies(Linux only)

Rodio uses cpal to send audio to the OS for playback. On Linux cpal needs the ALSA development files. These are provided as part of the libasound2-dev package on Debian and Ubuntu distributions and alsa-lib-devel on Fedora.

Contributing

For information on how to contribute to this project, please see our Contributing Guide.

License

Licensed under either of

at your option.

License of your contributions

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.