svn commit: r263642 - stable/10/sys/dev/sound/usb

Hans Petter Selasky hselasky at FreeBSD.org
Sat Mar 22 17:16:41 UTC 2014


Author: hselasky
Date: Sat Mar 22 17:16:40 2014
New Revision: 263642
URL: http://svnweb.freebsd.org/changeset/base/263642

Log:
  MFC r263155:
  Add support for more sample rates to USB audio driver.
  
  PR:		usb/171254

Modified:
  stable/10/sys/dev/sound/usb/uaudio.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sound/usb/uaudio.c
==============================================================================
--- stable/10/sys/dev/sound/usb/uaudio.c	Sat Mar 22 17:14:08 2014	(r263641)
+++ stable/10/sys/dev/sound/usb/uaudio.c	Sat Mar 22 17:16:40 2014	(r263642)
@@ -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_
 /* This structure defines all the supported rates. */
 
 static const uint32_t uaudio_rate_list[CHAN_MAX_ALT] = {
+	384000,
+	352800,
+	192000,
+	176400,
 	96000,
 	88200,
 	88000,


More information about the svn-src-all mailing list