[alsa-devel] (no subject)
Clemens Ladisch
clemens at ladisch.de
Fri Jan 31 12:03:39 CET 2020
Ben Dooks wrote:
> On 2020-01-30 14:58, Clemens Ladisch wrote:
>> Ben Dooks wrote:
>>> On 30/01/2020 09:31, Clemens Ladisch wrote:
>>>> S24_LE: 24-bit samples in 32-bit words, aligned to the LSB
>>>> S32_LE: 24-bit samples in 32-bit words, aligned to the MSB
>>>>
>>>> It is very unlikely that your hardware implements S24_LE.
>>>
>>> Which is wrong, since this is exactly what the hardware implements.
>>>
>>> The DMA fetches 32 bit words, and then the front end dispatches only
>>> 24 bits of these to the I2S/TDM
>>
>> Which 24 bits? Is the padding in the first byte (S32_LE) or in the
>> last byte (S24_LE)?
>
> I think the low 24 bits are sent from the 32 bit word.
This would indeed by S24_LE. If you change the driver to say that it
supports _only_ S24_LE, is the data then played correctly?
Regards,
Clemens
More information about the Alsa-devel
mailing list