OSDN Git Service

ALSA: emu10k1: fix support for 24 kHz capture
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Tue, 23 May 2023 20:07:07 +0000 (22:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 May 2023 10:13:00 +0000 (12:13 +0200)
commit872e5b2b5ee3f5b346d58dc4b89f0ca92065b61e
tree5a0a5503f55c84338628422d7ef61ca62477fddf
parentd2baa153c328efbbc3c4b939662e058b2cb544fd
ALSA: emu10k1: fix support for 24 kHz capture

We need to specify that the hardware supports non-standard rates, as
otherwise the sound core creates a constraint which limits the rate to
the specified standard rates. That also made the rate constraint we were
already adding meaningless.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230523200709.236059-3-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emupcm.c