Add dependency notice (libalsa on linux) to readme

This commit is contained in:
David Kleingeld 2024-10-01 02:35:16 +02:00 committed by GitHub
parent 2e5fc2e312
commit 15cca73388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,10 @@ See [the docs](https://docs.rs/rodio/latest/rodio/#alternative-decoder-backends)
[The documentation](http://docs.rs/rodio) 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.
## License
[License]: #license