Commit 67a7be7e authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant

Reported by Timur Tabi <timur@freescale.com> .
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent b751eef1
...@@ -75,7 +75,7 @@ static struct pcm_format_data pcm_formats[SNDRV_PCM_FORMAT_LAST+1] = { ...@@ -75,7 +75,7 @@ static struct pcm_format_data pcm_formats[SNDRV_PCM_FORMAT_LAST+1] = {
}, },
[SNDRV_PCM_FORMAT_U24_BE] = { [SNDRV_PCM_FORMAT_U24_BE] = {
.width = 24, .phys = 32, .le = 0, .signd = 0, .width = 24, .phys = 32, .le = 0, .signd = 0,
.silence = { 0x80, 0x00, 0x00 }, .silence = { 0x00, 0x80, 0x00, 0x00 },
}, },
[SNDRV_PCM_FORMAT_S32_LE] = { [SNDRV_PCM_FORMAT_S32_LE] = {
.width = 32, .phys = 32, .le = 1, .signd = 1, .width = 32, .phys = 32, .le = 1, .signd = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment