[alsa-devel] [PATCH 1/2] ASoC: Allow drivers to specify how many bits are significant on a DAI

Peter Ujfalusi peter.ujfalusi at ti.com
Tue Jan 17 14:06:44 CET 2012


On 01/17/2012 12:38 PM, Mark Brown wrote:
>> Might be not an issue to say that we have 24msbit on the 8bit sample,
>> but it does not sound right.
> 
> It shouldn't hurt and it is potentially useful to the application to
> know that things will be converted up by the hardware; unless there's a
> great reason to do so I'd rather not hide the information.

I can only speak in behalf of OMAP, twl4030, tlv320dac33 here, but the
24msbit only applies to 32bit samples. In case of 16 bit the samples are
not converted in any way, they are processed as 16 bit data.
So if we say 24msbit for 16bit sample we are not correct. It is correct
for 32bit sample.
I would think most of the codecs/cpus are working in a same way.

-- 
Péter


More information about the Alsa-devel mailing list