forked from auracaster/pyalsaaudio
Fix channel selection error. Closes #1
This commit is contained in:
@@ -1780,7 +1780,7 @@ alsamixer_setvolume(alsamixer_t *self, PyObject *args)
|
||||
done++;
|
||||
}
|
||||
else if (direction == 1
|
||||
&& snd_mixer_selem_has_capture_channel(elem, channel)
|
||||
&& snd_mixer_selem_has_capture_channel(elem, i)
|
||||
&& snd_mixer_selem_has_capture_volume(elem))
|
||||
{
|
||||
physvolume = alsamixer_getphysvolume(self->cmin,self->cmax,
|
||||
|
||||
Reference in New Issue
Block a user