1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 20:33:08 +02:00

[xburst] jzcodec: Fix supported formats.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20210 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars 2010-03-14 17:49:30 +00:00
parent e8f6f13bcf
commit 64a8bb6646

View File

@ -267,14 +267,17 @@ struct snd_soc_dai jz_codec_dai = {
.channels_min = 2, .channels_min = 2,
.channels_max = 2, .channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_44100, .rates = SNDRV_PCM_RATE_8000_44100,
.formats = SNDRV_PCM_FORMAT_S18_3LE, .formats = SNDRV_PCM_FMTBIT_S18_3LE |
SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S8,
}, },
.capture = { .capture = {
.stream_name = "Capture", .stream_name = "Capture",
.channels_min = 2, .channels_min = 2,
.channels_max = 2, .channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_44100, .rates = SNDRV_PCM_RATE_8000_44100,
.formats = SNDRV_PCM_FORMAT_S16_LE, .formats = SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S8,
}, },
.ops = &jz_codec_dai_ops, .ops = &jz_codec_dai_ops,
.symmetric_rates = 1, .symmetric_rates = 1,