From 15cca7338859dfa08fbff22ae6bec996974876a2 Mon Sep 17 00:00:00 2001 From: David Kleingeld Date: Tue, 1 Oct 2024 02:35:16 +0200 Subject: [PATCH] Add dependency notice (libalsa on linux) to readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 614ab1fb..91b03693 100644 --- a/README.md +++ b/README.md @@ -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