e: e_mixer_system_has_capture checks for capture switch||volume
authorJérémy Zurcher <jeremy@asynk.ch>
Sat, 12 Jan 2013 13:12:58 +0000 (13:12 +0000)
committerJérémy Zurcher <jeremy@asynk.ch>
Sat, 12 Jan 2013 13:12:58 +0000 (13:12 +0000)
SVN revision: 82697

src/modules/mixer/sys_alsa.c

index af12281..e47582b 100644 (file)
@@ -631,6 +631,6 @@ e_mixer_system_has_capture(E_Mixer_System *self,
    if ((!self) || (!channel))
      return 0;
 
-   return snd_mixer_selem_has_capture_switch(channel);
+   return snd_mixer_selem_has_capture_switch(channel) || snd_mixer_selem_has_capture_volume(channel);
 }