mirror of https://github.com/hak5/openwrt.git
parent
1b39ce11a8
commit
a4d823a9e3
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue