<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-03-09 4:52 GMT+08:00 Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Wed, 2016-03-09 at 00:28 +0800, Raymond Yau wrote:<br>
> > > Alsa mixer api just combine volume control and mute switch with same name<br>
> > > to an element,<br>
> > ><br>
> > > Is it possible that these two control have different number of channels<br>
> > > for some sound card ?<br>
> > I don't know if it's possible, but the PulseAudio code works in any<br>
> > case, because the switch handling code doesn't depend on how many<br>
> > channels the corresponding volume element has.<br>
> ><br>
</span><span class="">> Do you mean that side speakers still have sound when selecting 5.1 profile<br>
> when user have 7.1 speakers since alsa snd hda intel driver use copy front?<br>
<br>
</span>I don't know what "copy front" means. I sure hope that it doesn't mean<br>
that the driver copies audio from the front speakers to the side<br>
speakers when pulseaudio uses the "surround51" device.<br></blockquote><div><br></div><div><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_codec.c?id=4b3acaf5b56f53ef259a6ddf8e17dcb529631d9b">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_codec.c?id=4b3acaf5b56f53ef259a6ddf8e17dcb529631d9b</a> </div><div><br></div><div><span style="color:rgb(51,51,51);font-family:sans-serif;font-size:16.6667px;font-weight:bold">hda-codec - Feed front signals to all surrounds</span><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><font color="#888888"><br></font></span></blockquote></div></div></div>