[alsa-devel] S16_LE + softvol = bad
Takashi Iwai
tiwai at suse.de
Fri Jan 18 13:46:21 CET 2008
At Thu, 17 Jan 2008 20:01:09 +0500,
Alexander E. Patrakov wrote:
>
> 2008/1/17, Takashi Iwai <tiwai at suse.de>:
> > ... and the below is the fix. Give it a try.
>
> Tested with no explicit defaults.pcm.dmix.format, with explicit
> S16_LE, and with explicit S32_LE, all with Intel HD audio and the PC
> speaker (total 6 cases, including one meaningless). In all cases, the
> code was able to choose the correct format for talking with hardware
> (i.e., the worst of (a) explicitly specified, if any, and (b) the best
> hardware-supported one). Thanks for a quick fix!
Thanks for checking. I applied it to HG tree now.
This might break something on some drivers due to the format changes
(requiring larger buffers) although I don't think it won't be much.
Let's see. For such devices, we can add S16 in the card config.
Takashi
More information about the Alsa-devel
mailing list