[PATCH 1/2] alsa-mixer: Fix reference to too high channel numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > :
> > > > 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.
>
> --

Do you mean that side speakers still have sound when selecting 5.1 profile
when user have 7.1 speakers since alsa snd hda intel driver use copy front?

https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1553783

mrt 06 20:17:03 username-EasyNote-TJ77 pulseaudio[2191]:
[alsa-source-ALC272X Analog] alsa-mixer.c: Assertion
'pa_cvolume_compatible_with_channel_map(v, cm)' failed at
modules/alsa/alsa-mixer.c:1222, function pa_alsa_path_set_volume().
Aborting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160309/3d343f7f/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux