2 Mar
2019
2 Mar
'19
6:42 a.m.
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