[alsa-devel] ASoC: at91sam9260-PCM1808/TAS5709-based board driver

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Aug 28 14:15:15 CEST 2009

[Please note that the standard  thing on Linux mailing lists is to do a
reply to all.]

On Thu, Aug 27, 2009 at 03:11:49PM -0400, Pedro I. Sanchez wrote:

> question. Why is it that if I play a 24-bit encoded play the hw_params()
> function in my driver is called with SNDRV_PCM_FORMAT_S16_LE format? Does
> ALSA makes an on-the-fly conversion?

Yes, ALSA can do on the fly format translations if required to play
things.  This normally happens because the input format is not supported
by the drivers.  Telling the application to use the hardware device
directly will bypass this conversion.

More information about the Alsa-devel mailing list