45 releases

0.20.1 Nov 8, 2024
0.19.0 Jun 29, 2024
0.17.3 Oct 23, 2023
0.17.1 Feb 25, 2023
0.3.1 Oct 23, 2015

#3 in Audio

Download history 23043/week @ 2024-08-02 33740/week @ 2024-08-09 26433/week @ 2024-08-16 34711/week @ 2024-08-23 29247/week @ 2024-08-30 25309/week @ 2024-09-06 22273/week @ 2024-09-13 27933/week @ 2024-09-20 28701/week @ 2024-09-27 23242/week @ 2024-10-04 22848/week @ 2024-10-11 21336/week @ 2024-10-18 23270/week @ 2024-10-25 23039/week @ 2024-11-01 18561/week @ 2024-11-08 19906/week @ 2024-11-15

88,342 downloads per month
Used in 419 crates (268 directly)

MIT/Apache

305KB
7.5K SLoC

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.

Documentation

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.

Dependencies

~0.4–30MB
~454K SLoC