[alsa-devel] [PATCH] pcm: softvol: add support for S24_LE

Clemens Ladisch clemens at ladisch.de
Fri Sep 8 12:52:32 CEST 2017


Jörg Krause wrote:
> Tested with a Wolfson WM8524 DAC on a i.MX6UL board running Linux version
> 4.13.0-next-20170907.

> +	case SND_PCM_FORMAT_S24_LE:
> +		/* 24bit samples, fallthrough */
>  	case SND_PCM_FORMAT_S32_LE:

S24_LE cannot be handled with the same algorithm as S32_LE.

I suspect that the hardware does not actually use S24_LE, and
that the driver uses the wrong label for this format.
Please describe exactly how the 24-bit sample is aligned into
the 32-bit memory cell.


Regards,
Clemens


More information about the Alsa-devel mailing list