44 releases

new 0.20.0 Nov 7, 2024
0.19.0 Jun 29, 2024
0.18.1 May 23, 2024
0.17.3 Oct 23, 2023
0.3.1 Oct 23, 2015

#3 in Audio

Download history 26436/week @ 2024-07-18 28552/week @ 2024-07-25 24054/week @ 2024-08-01 31668/week @ 2024-08-08 27818/week @ 2024-08-15 34383/week @ 2024-08-22 29022/week @ 2024-08-29 27286/week @ 2024-09-05 22646/week @ 2024-09-12 26844/week @ 2024-09-19 28527/week @ 2024-09-26 24430/week @ 2024-10-03 22209/week @ 2024-10-10 21315/week @ 2024-10-17 22747/week @ 2024-10-24 23541/week @ 2024-10-31

93,968 downloads per month
Used in 412 crates (261 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