]> code.delx.au - pulseaudio/commitdiff
alsa-mixer: Replace erroneous PA_ALSA_VOLUME_IGNORE with PA_ALSA_ENUMERATION_IGNORE.
authorTanu Kaskinen <ext-tanu.kaskinen@nokia.com>
Tue, 29 Dec 2009 12:53:40 +0000 (14:53 +0200)
committerTanu Kaskinen <ext-tanu.kaskinen@nokia.com>
Mon, 10 May 2010 11:05:25 +0000 (14:05 +0300)
This fix doesn't have any concrete effect, because the two constants have the
same value.

src/modules/alsa/alsa-mixer.c

index 3ccd88711c8646bce951e1edc66b978d5d6fbb60..b2888a360cf3b712d9a37795859f2b9f2b85d6ca 100644 (file)
@@ -1037,7 +1037,7 @@ static int element_probe(pa_alsa_element *e, snd_mixer_t *m) {
 
         e->switch_use = PA_ALSA_SWITCH_IGNORE;
         e->volume_use = PA_ALSA_VOLUME_IGNORE;
-        e->enumeration_use = PA_ALSA_VOLUME_IGNORE;
+        e->enumeration_use = PA_ALSA_ENUMERATION_IGNORE;
 
         return 0;
     }