1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-05 00:08:12 +03:00

[xburst] jzcodec: Only support 16bit formats for now

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20701 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars 2010-04-04 15:39:15 +00:00
parent 69e81fe5ee
commit d266f7371f

View File

@ -267,17 +267,14 @@ 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_FMTBIT_S18_3LE | .formats = SNDRV_PCM_FMTBIT_S16_LE,
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_FMTBIT_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,