]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] Support for non-standard rates in USB audio driver
authorLuke Ross <luke@lukeross.name>
Tue, 29 Aug 2006 08:46:32 +0000 (10:46 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:44:58 +0000 (10:44 +0200)
commit6a2cb758f5212f54c064629004f9421585bcdda3
tree1a0618e6aba24c6ca10d5822bc08c03219d794ee
parent659682879230ed4019260a6cebb5f3e3698d1b3c
[ALSA] Support for non-standard rates in USB audio driver

There's at least one USB audio chipset out there which supports only one
non-standard rate (ID 0e6a:0310 supports 46875Hz). There's a few other
patches for this card which are unsatisfactory because they attempt to
map this rate to 44.1k leading to sound distortion.
The patch below uses SNDRV_PCM_RATE_KNOT to properly support the
non-standard rates where they are available.

Signed-off-by: Luke Ross <luke@lukeross.name>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/usb/usbaudio.c