[alsa-devel] [PATCH] ASoC: cs42xx8: Remove S32_LE in format list
S.j. Wang
shengjiu.wang at nxp.com
Sat Mar 2 06:42:39 CET 2019
Hi
> 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.
Ok. Thanks for reviewing, I will drop this patch.
Best regards
Wang shengjiu
More information about the Alsa-devel
mailing list