From 7961add611c0111412dc670fa7b7386b3ca135d2 Mon Sep 17 00:00:00 2001 From: hselasky Date: Fri, 14 Mar 2014 07:11:33 +0000 Subject: [PATCH] Add support for more sample rates to USB audio driver. Submitted by: Shunsuke Suganuma <3226388001@jcom.home.ne.jp> PR: usb/171254 MFC after: 1 week --- sys/dev/sound/usb/uaudio.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c index 66b09d4af6b4..3299f22e4ebf 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,