From: Jaroslav Kysela Date: Thu, 13 Dec 2007 09:36:03 +0000 (+0100) Subject: [ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant X-Git-Tag: v2.6.25-rc1~1127^2~209 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67a7be7e9c1523cec8aa10c8d744fe70f778a093;p=linux-2.6 [ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant Reported by Timur Tabi . Signed-off-by: Jaroslav Kysela --- diff --git a/sound/core/pcm_misc.c b/sound/core/pcm_misc.c index dd9aa51d8c..b9ae6b37a6 100644 --- a/sound/core/pcm_misc.c +++ b/sound/core/pcm_misc.c @@ -75,7 +75,7 @@ static struct pcm_format_data pcm_formats[SNDRV_PCM_FORMAT_LAST+1] = { }, [SNDRV_PCM_FORMAT_U24_BE] = { .width = 24, .phys = 32, .le = 0, .signd = 0, - .silence = { 0x80, 0x00, 0x00 }, + .silence = { 0x00, 0x80, 0x00, 0x00 }, }, [SNDRV_PCM_FORMAT_S32_LE] = { .width = 32, .phys = 32, .le = 1, .signd = 1,