[alsa-devel] Shared volume control again

Takashi Iwai tiwai at suse.de
Wed Oct 29 18:17:32 CET 2014


At Wed, 29 Oct 2014 18:12:14 +0100,
David Henningsson wrote:
> 
> 
> 
> On 2014-10-29 18:02, Takashi Iwai wrote:
> > Hi,
> >
> > thinking of the problem about shared volume controls again, I stumbled
> > on a case where your suggested solution doesn't work well.  Namely,
> > when a headphone volume is shared for two headphones (one on the
> > laptop and one on the dock), how should it be named?  One is
> > "Headphone" and another is "Dock Headphone".  That's a bit tricky.
> >
> > So, in the end, we need the mapping representation somehow more
> > explicitly than the control name.
> >
> > Thoughts?
> 
> In practice, it seems like we more often than not share DAC for all 
> headphones. Also it is very common today that a jack called "Front 
> Headphone" has a volume control called only "Headphone".
> 
> That's the status quo. As a result we have only one headphone path in 
> PulseAudio for all types of headphones.

OK, so "Headphone" volume should be handled by both "Headphone Jack"
and "Dock Headphone Jack" detections?  Then it's fine.  I thought this
wasn't the case (from my memory dealing with an old bug report).

> And it kind of works as long as we *always* share DAC between the 
> different headphones. And when we don't, they're usually both controlled 
> by a vmaster anyway. I haven't seen anything else recently, are you 
> planning to make "headphone" and "dock headphone" have separate volume 
> controls?

No, splitting is impossible with vmaster.


thanks,

Takashi


More information about the Alsa-devel mailing list