From 81e8a349bb9727aae73d1ce263af70d54eb1a1f1 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 10 Aug 2015 19:23:31 +0200 Subject: [PATCH] mixer: only list playbackdevices if they are _real_ playbackdevices --- src/modules/mixer/lib/backends/alsa/alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mixer/lib/backends/alsa/alsa.c b/src/modules/mixer/lib/backends/alsa/alsa.c index 11eafd3..dbf7c5a 100644 --- a/src/modules/mixer/lib/backends/alsa/alsa.c +++ b/src/modules/mixer/lib/backends/alsa/alsa.c @@ -305,7 +305,7 @@ _alsa_cards_refresh(void) //check if its a source or a sink if (snd_mixer_selem_has_capture_volume(elem)) tmp_source = eina_list_append(tmp_source, elem); - else + else if (snd_mixer_selem_has_playback_volume(elem)) tmp_sink = eina_list_append(tmp_sink, elem); } -- 2.7.4