[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)
commita79eee8d3d8a80c37d235e1181d67c3705c7bbfe
tree1a0618e6aba24c6ca10d5822bc08c03219d794ee
parent9f458e7fb5b92385d348fb6039ba7211a6d6ba6e
[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