aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2007-12-13 04:36:03 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:31 -0500
commit67a7be7e9c1523cec8aa10c8d744fe70f778a093 (patch)
tree18bbc0b4b99bc0f80e873bbb2d392e4d45f1a899 /sound/core
parentb751eef1fdffca5532344285f2fad0c60d2f0158 (diff)
[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/core')
-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 dd9aa51d8c82..b9ae6b37a61f 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] = {
75 }, 75 },
76 [SNDRV_PCM_FORMAT_U24_BE] = { 76 [SNDRV_PCM_FORMAT_U24_BE] = {
77 .width = 24, .phys = 32, .le = 0, .signd = 0, 77 .width = 24, .phys = 32, .le = 0, .signd = 0,
78 .silence = { 0x80, 0x00, 0x00 }, 78 .silence = { 0x00, 0x80, 0x00, 0x00 },
79 }, 79 },
80 [SNDRV_PCM_FORMAT_S32_LE] = { 80 [SNDRV_PCM_FORMAT_S32_LE] = {
81 .width = 32, .phys = 32, .le = 1, .signd = 1, 81 .width = 32, .phys = 32, .le = 1, .signd = 1,