[alsa-devel] Handling of the DXS controls in the via82xx driver

Raymond Yau superquad.vortex2 at gmail.com
Wed Mar 31 03:39:14 CEST 2010


2010/3/29 Clemens Ladisch <clemens at ladisch.de>

> Soeren D. Schulze wrote:
>
>
> > mplayer still controls the global PCM volume.  Well,
> > in fact, there is one way.  While an mplayer is running, I can do:
> >
> > amixer cset numid=47,iface=PCM,name='PCM Playback Volume' 24,24
> >
> > When restarting mplayer, the volume is reset to 31,31 (maximum).
>
> The old behaviour was considered buggy: these stream controls are
> logically associated with a stream opened by an application, not with
> a particular hardware stream.
>
> > The bad thing about it is that 31,31 is a really bad setting for my
> > poorly engineered sound card.  It distorts a lot.
>
> If the card cannot handle any loud output, then all outputs from any
> source must be restricted, so the logical place for lower volume would
> be the "Master" or "PCM" controls.
>
>
> Regards,
> Clemens
>
>
Correct me if I am wrong , ac97 codec support 16,18,20 bits resolution and
the ac97 specification mention that if a sample stream of resoultion is less
than 20 bits is transferred through ac97 link, the ac97 controller must
stuff all trailing invalid bits with zero.

This mean that the ac97 controller can provide a maximum of 12 dB gain if
your codec support 20 bits resolution , any gain over 12dB by the ac97
controller will lead to clipping


More information about the Alsa-devel mailing list