Date: Fri, 14 Mar 2014 07:11:33 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r263155 - head/sys/dev/sound/usb Message-ID: <201403140711.s2E7BXTi039186@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri Mar 14 07:11:33 2014 New Revision: 263155 URL: http://svnweb.freebsd.org/changeset/base/263155 Log: 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 Modified: head/sys/dev/sound/usb/uaudio.c Modified: head/sys/dev/sound/usb/uaudio.c ============================================================================== --- head/sys/dev/sound/usb/uaudio.c Fri Mar 14 06:38:22 2014 (r263154) +++ head/sys/dev/sound/usb/uaudio.c Fri Mar 14 07:11:33 2014 (r263155) @@ -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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403140711.s2E7BXTi039186>