Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107151041
D41627.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
955 B
Referenced Files
None
Subscribers
None
D41627.diff
View Options
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -96,7 +96,7 @@
static int uaudio_default_rate = 0; /* use rate list */
static int uaudio_default_bits = 32;
static int uaudio_default_channels = 0; /* use default */
-static int uaudio_buffer_ms = 2;
+static int uaudio_buffer_ms = 1;
static bool uaudio_handle_hid = true;
static SYSCTL_NODE(_hw_usb, OID_AUTO, uaudio, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
@@ -123,8 +123,8 @@
if (val > 8)
val = 8;
- else if (val < 2)
- val = 2;
+ else if (val < 1)
+ val = 1;
uaudio_buffer_ms = val;
@@ -133,7 +133,7 @@
SYSCTL_PROC(_hw_usb_uaudio, OID_AUTO, buffer_ms,
CTLTYPE_INT | CTLFLAG_RWTUN | CTLFLAG_MPSAFE, 0, sizeof(int),
uaudio_buffer_ms_sysctl, "I",
- "uaudio buffering delay from 2ms to 8ms");
+ "uaudio buffering delay from 1ms to 8ms");
#ifdef USB_DEBUG
static int uaudio_debug;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 9:51 PM (21 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15758147
Default Alt Text
D41627.diff (955 B)
Attached To
Mode
D41627: Lower minimal USB audio buffer size limit from 2ms to 1ms
Attached
Detach File
Event Timeline
Log In to Comment