Add ALSA widget (#18)

Add initial ALSA widget, and put both ALSA and PulseAudio behind feature flags.
This commit is contained in:
Sergey Smirnykh
2019-09-18 11:19:10 +02:00
committed by Kenny Levinsen
parent 4e9f0e566f
commit 1ae11bab29
7 changed files with 176 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
#[cfg(feature="alsa-widget")]
mod alsa_sound;
#[cfg(feature="alsa-widget")]
pub use alsa_sound::Alsa;
#[cfg(feature="pulseaudio-widget")]
mod pulse_sound;
#[cfg(feature="pulseaudio-widget")]
pub use pulse_sound::PulseAudio;