summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2007-12-13 10:36:03 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:31 +0100
commit67a7be7e9c1523cec8aa10c8d744fe70f778a093 (patch)
tree18bbc0b4b99bc0f80e873bbb2d392e4d45f1a899 /sound
parentb751eef1fdffca5532344285f2fad0c60d2f0158 (diff)
downloadop-kernel-dev-67a7be7e9c1523cec8aa10c8d744fe70f778a093.zip
op-kernel-dev-67a7be7e9c1523cec8aa10c8d744fe70f778a093.tar.gz
[ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant
Reported by Timur Tabi <timur@freescale.com> . Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/core/pcm_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_misc.c b/sound/core/pcm_misc.c
index dd9aa51..b9ae6b3 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,
OpenPOWER on IntegriCloud