[alsa-devel] [PATCH] ASoC: tlv320aic3x: Correct S24_3LE support

Mark Brown broonie at kernel.org
Fri Dec 13 14:49:06 CET 2013


On Fri, Dec 13, 2013 at 02:42:32PM +0100, Lars-Peter Clausen wrote:

> Normally you'd expect the I2S core to only put the 24 bits of data onto the
> bus for both S24_3LE and S24_LE (it might add necessary trailing padding if
> the bit clocks per frame is > 24). A CODEC driver should really not have to
> care about the in memory layout of the data since all it will see is a
> serialized bit stream. I think ideally we wouldn't check for params_format()
> but rather for snd_pcm_format_width(params_format()).

Yes, that would be a much better approach.  In fact, let me go attack
that...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131213/4f2d55ec/attachment.sig>


More information about the Alsa-devel mailing list