summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2014-03-22 17:16:40 +0000
committerhselasky <hselasky@FreeBSD.org>2014-03-22 17:16:40 +0000
commit3b3c7827c36e5eb42ffdee05f0813da041948ee3 (patch)
tree2911ab97bcf02e31ae1bf8f76f02bb5cf9044b53 /sys/dev/sound
parentae026680343a9bae46e2bb2e38961d9450a370c0 (diff)
downloadFreeBSD-src-3b3c7827c36e5eb42ffdee05f0813da041948ee3.zip
FreeBSD-src-3b3c7827c36e5eb42ffdee05f0813da041948ee3.tar.gz
MFC r263155:
Add support for more sample rates to USB audio driver. PR: usb/171254
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/usb/uaudio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index 66b09d4..3299f22 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -182,7 +182,7 @@ struct uaudio_configure_msg {
struct uaudio_softc *sc;
};
-#define CHAN_MAX_ALT 20
+#define CHAN_MAX_ALT 24
struct uaudio_chan_alt {
union uaudio_asf1d p_asf1d;
@@ -1883,6 +1883,10 @@ uaudio_chan_fill_info_sub(struct uaudio_softc *sc, struct usb_device *udev,
/* This structure defines all the supported rates. */
static const uint32_t uaudio_rate_list[CHAN_MAX_ALT] = {
+ 384000,
+ 352800,
+ 192000,
+ 176400,
96000,
88200,
88000,
OpenPOWER on IntegriCloud