[pulseaudio-discuss] [PATCH v2 0/5] Add default volume to ports

Raymond Yau superquad.vortex2 at gmail.com
Tue Apr 21 17:36:24 PDT 2015


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

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

Other bad volume behaviour

1)Speaker playback  volume does not has dB scale
2) the analog output jack  support line out and headphone
3)the line out jack is shared with optical spdif and there is only one
playback device
4) the optical spdif does not support ac3 passthrough

The aureon dual USB  in bug report seem quite different from headphone and
speaker of laptop which have dB scale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150422/20f37bde/attachment.html>


More information about the pulseaudio-discuss mailing list