[alsa-devel] what is the difference between SNDRV_PCM_FMTBIT_S24_LE and SNDRV_PCM_FMTBIT_S24_3LE

Mark Brown broonie at kernel.org
Tue Apr 30 15:24:21 CEST 2013

On Thu, Apr 11, 2013 at 08:27:21AM -0700, Gabriel M. Beddingfield wrote:
> On 04/11/2013 02:35 AM, Clemens Ladisch wrote:

> >I do not know how ASoC maps these symbols to on-the-wire formats.

> The SNDRV_PCM_* symbol specifies the format of the audio in RAM, and
> transfers that audio to the digital audio interface (DAI) on the CPU
> side.  (E.g. the OMAP McBSP.)


> The CPU DAI is responsible for converting the SNDRV_PCM_* format
> into the serial format.  Therefore, the conversions that it supports
> is totally hardware-dependent.

The drivers should in general be defaulting to using exactly the right
number of bits on the wire, aside from the marginal efficiency gains
if hardware has limitations they tend to be an inability to cope with
extra BCLKs so this improves robustness and compatibility.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130430/d134bd0d/attachment.sig>

More information about the Alsa-devel mailing list