Subject: 6ch playing with USB audio
To: None <tech-kern@netbsd.org>
From: TAMURA Kent <kent@netbsd.org>
List: tech-kern
Date: 03/19/2002 00:43:50
Playing 44.1kHz 6ch 16bit sound with a USB audio device via USB
1.1 makes cyclic noise. The following patch eliminates the
noise. Is this change correct and acceptable?
Index: uaudio.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/usb/uaudio.c,v
retrieving revision 1.54
diff -u -u -r1.54 uaudio.c
--- uaudio.c 2002/03/18 14:06:08 1.54
+++ uaudio.c 2002/03/18 15:34:31
@@ -83,7 +83,7 @@
#endif
#define UAUDIO_NCHANBUFS 6 /* number of outstanding request */
-#define UAUDIO_NFRAMES 20 /* ms of sound in each request */
+#define UAUDIO_NFRAMES 10 /* ms of sound in each request */
#define MIX_MAX_CHAN 8
--
TAMURA Kent <kent2002@hauN.org> <kent@netbsd.org>