ALSA: ca0106 - disable 44.1kHz capture
The capture with 44.1kHz on ca0106 seems to cause loud noises on later playbacks, which doesn't support 44.1kHz. A simple fix is to disable 44.1kHz, as the "default" PCM with dsnoop is anyway only with 48kHz. Reference: Novell bnc#447624 https://bugzilla.novell.com/show_bug.cgi?id=447624 Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
8b1fae4e42
commit
ff75427a7f
@ -305,9 +305,15 @@ static struct snd_pcm_hardware snd_ca0106_capture_hw = {
|
||||
SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
||||
SNDRV_PCM_INFO_MMAP_VALID),
|
||||
.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE,
|
||||
#if 0 /* FIXME: looks like 44.1kHz capture causes noisy output on 48kHz */
|
||||
.rates = (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |
|
||||
SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_192000),
|
||||
.rate_min = 44100,
|
||||
#else
|
||||
.rates = (SNDRV_PCM_RATE_48000 |
|
||||
SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_192000),
|
||||
.rate_min = 48000,
|
||||
#endif /* FIXME */
|
||||
.rate_max = 192000,
|
||||
.channels_min = 2,
|
||||
.channels_max = 2,
|
||||
|
Loading…
Reference in New Issue
Block a user