On Fri, 2016-03-04 at 07:48 +0800, Raymond Yau wrote: > : > > > The volume_use is set to ignore, but we continue the volume parsing > > > code, potentially referencing somewhere outside the array (which has > > > max two channels). > > Alsa mixer api just combine volume control and mute switch with same name > to an element, > > Is it possible that these two control have different number of channels > for some sound card ?
I don't know if it's possible, but the PulseAudio code works in any case, because the switch handling code doesn't depend on how many channels the corresponding volume element has. -- Tanu _______________________________________________ pulseaudio-discuss mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
