Thread (8 messages) 8 messages, 4 authors, 2019-03-02

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

From: S.j. Wang <hidden>
Date: 2019-03-02 05:44:35
Also in: alsa-devel

Hi
On 3/1/19 12:32 AM, S.j. Wang wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help