Commit c3ea47f7 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update

Intel8x0 driver
set msbits for 20-bit sample format
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent 44366f2b
......@@ -1157,8 +1157,10 @@ static int snd_intel8x0_playback_open(snd_pcm_substream_t * substream)
runtime->hw.channels_max = 4;
snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS, &hw_constraints_channels4);
}
if (chip->smp20bit)
if (chip->smp20bit) {
runtime->hw.formats |= SNDRV_PCM_FMTBIT_S32_LE;
snd_pcm_hw_constraint_msbits(runtime, 0, 32, 20);
}
return 0;
}
......
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