Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]snd-usb-usx2y yields much better latency....
@ 2004-06-24 19:50 Karsten Wiese
  2004-06-25 15:19 ` Clemens Ladisch
  0 siblings, 1 reply; 3+ messages in thread
From: Karsten Wiese @ 2004-06-24 19:50 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

....with the default setting as in this patch.

Please commit with comment
	- set NRPACKS to 1 as default setting to improve latency.

Thanks & Regards
Karsten


[-- Attachment #2: snd-usb-usx2y.patch.1Packet --]
[-- Type: text/x-diff, Size: 959 bytes --]

Index: alsa-driver/usb/usx2y/usbusx2y.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/usb/usx2y/usbusx2y.h,v
retrieving revision 1.5
diff -u -r1.5 usbusx2y.h
--- alsa-driver/usb/usx2y/usbusx2y.h	15 Jun 2004 10:55:39 -0000	1.5
+++ alsa-driver/usb/usx2y/usbusx2y.h	24 Jun 2004 19:47:34 -0000
@@ -5,7 +5,13 @@
 #include "usbus428ctldefs.h" 
 
 #define NRURBS	        2	/* */
-#define NRPACKS		2	/* usb-frames/ms per urb: 1 and 2 are supported. set to 1 if you want lowest possible latency */
+#define NRPACKS		1	/* usb-frames/ms per urb: 1 and 2 are supported.
+				   setting to 2 will PERHAPS make it easier for slow machines.
+				   Jitter will be higher though.
+				   On my PIII 500Mhz Laptop setting to 1 is the only way to go 
+				   for PLAYING synths. i.e. Jack & Aeolus sound quit nicely 
+				   at 4 periods 64 frames. 
+				*/
 
 #define URBS_AsyncSeq 10
 #define URB_DataLen_AsyncSeq 32

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-25 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-24 19:50 [PATCH]snd-usb-usx2y yields much better latency Karsten Wiese
2004-06-25 15:19 ` Clemens Ladisch
2004-06-25 15:54   ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox