[pulseaudio-discuss] [PATCH v2 0/5] Add default volume to ports
Tanu Kaskinen
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
> to
> > fix bad volume behaviour on Terratec Aureon Dual USB. These patches
> > add a new default volume attribute to ports and alsa-mixer paths,
> and
> > use that to fix the Aureon volume bug[1].
> >
> > The default volume of all analog paths, not just Aureon, is now 30%
> > instead of 100%. Also, the port default volume is now considered
> when
> > switching ports. That means, for example, that on the first boot of
> > a laptop with speakers and a headphone jack (unplugged), the
> speakers
> > get their default volume set as before (based on the hardware
> volume),
> > but when plugging in headphones, the sink volume jumps to 30%.
> That's
> > 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
> default
> > volumes were discussed in some length:
> > http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/22253
> >
> > [1] 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
> stereo
>
> 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.
--
Tanu
More information about the pulseaudio-discuss
mailing list