ASoC: pcm: Add 24bit playback audio support
Change-Id: I60b81c6fd03f24bad21d3fc31a1486606e28b831 Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
parent
cea51b0605
commit
8c6a87a88f
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ static const struct snd_pcm_hardware no_host_hardware = {
|
||||||
SNDRV_PCM_INFO_PAUSE |
|
SNDRV_PCM_INFO_PAUSE |
|
||||||
SNDRV_PCM_INFO_RESUME,
|
SNDRV_PCM_INFO_RESUME,
|
||||||
.formats = SNDRV_PCM_FMTBIT_S16_LE |
|
.formats = SNDRV_PCM_FMTBIT_S16_LE |
|
||||||
|
SNDRV_PCM_FMTBIT_S24_LE |
|
||||||
|
SNDRV_PCM_FMTBIT_S24_3LE |
|
||||||
SNDRV_PCM_FMTBIT_S32_LE,
|
SNDRV_PCM_FMTBIT_S32_LE,
|
||||||
.period_bytes_min = PAGE_SIZE >> 2,
|
.period_bytes_min = PAGE_SIZE >> 2,
|
||||||
.period_bytes_max = PAGE_SIZE >> 1,
|
.period_bytes_max = PAGE_SIZE >> 1,
|
||||||
|
|
Loading…
Reference in a new issue