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.