21 Dec
2007
21 Dec
'07
9:56 a.m.
At Thu, 20 Dec 2007 14:43:14 -0600, Timur Tabi wrote:
SNDRV_PCM_FORMAT_U24_BE and SNDRV_PCM_FORMAT_U24_LE represent 24-bit samples that are aligned into a 4-byte word, so the most significant byte is always zero. The entries for these two sample formats in the pcm_formats[] array only specified 3 bytes. For SNDRV_PCM_FORMAT_U24_LE, the compiler automatically adds the 4th byte, but for SNDRV_PCM_FORMAT_U24_BE the entry was just wrong. This patch fixes both entries.
Signed-off-by: Timur Tabi timur@freescale.com
U24_BE was already fixed on HG tree...
Takashi