[alsa-devel] [PATCH] fix entries for U24_BE and U24_LE in pcm_formats[] array

Takashi Iwai tiwai at suse.de
Fri Dec 21 09:56:08 CET 2007


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 at freescale.com>

U24_BE was already fixed on HG tree...


Takashi


More information about the Alsa-devel mailing list