[alsa-devel] [PATCH] ASoC: cs42xx8: Remove S32_LE in format list

Timur Tabi timur at kernel.org
Sat Mar 2 01:32:43 AEDT 2019


On 3/1/19 12:32 AM, S.j. Wang wrote:
> This case is covered by S24_LE I think.  The S32_LE means the data is 32bit and slot width
> Is 32bit, this is not in data sheet.

The problem is that if you have 32-bit samples in your audio file, and 
you want to play them, then software (e.g. alsalib) will need to convert 
the audio to 24-bit before sending it to hardware.  This is unnecessary 
because the hardware can "convert" the sample to 24-bit automatically by 
ignoring the lower 8 bits.

I think a lot of codecs do this already.


More information about the Linuxppc-dev mailing list