[pulseaudio-discuss] [PATCH v2 0/5] Add default volume to ports
tanu.kaskinen at linux.intel.com
Sat Apr 18 04:01:16 PDT 2015
On Sat, 2015-04-18 at 10:13 +0800, Raymond Yau wrote:
> > This is pretty much a complete rewrite of the patches that intended
> > fix bad volume behaviour on Terratec Aureon Dual USB. These patches
> > add a new default volume attribute to ports and alsa-mixer paths,
> > use that to fix the Aureon volume bug.
> > The default volume of all analog paths, not just Aureon, is now 30%
> > instead of 100%. Also, the port default volume is now considered
> > switching ports. That means, for example, that on the first boot of
> > a laptop with speakers and a headphone jack (unplugged), the
> > get their default volume set as before (based on the hardware
> > but when plugging in headphones, the sink volume jumps to 30%.
> > a good thing, because the speaker volume won't affect the default
> > headphone volume like it has affected so far.
> > Here's a link to the v1 patch set discussion, where the device
> > volumes were discussed in some length:
> > http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/22253
> >  https://bugs.freedesktop.org/show_bug.cgi?id=81777
> Is this bug of alsa mixer api ?
I don't know. My guess would be no.
> The speaker playback switch is mono but speaker playback volume is
> amixer even show two on/off switches
Even if the mismatch is a bug, fixing it most likely wouldn't fix the
real problem of the volume having effect only in the analog mode.
More information about the pulseaudio-discuss