Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132996522
D43649.id133502.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D43649.id133502.diff
View Options
diff --git a/share/man/man4/snd_uaudio.4 b/share/man/man4/snd_uaudio.4
--- a/share/man/man4/snd_uaudio.4
+++ b/share/man/man4/snd_uaudio.4
@@ -60,9 +60,65 @@
Refer to the
.Ql USB Audio Class Specification
for more information.
+.Ss Runtime Configuration
+.Nm
+provides the following
+.Xr sysctl 8
+variables which can be modified during runtime:
+.Bl -tag -width indent
+.It Va hw.usb.uaudio.buffer_ms
+Buffering delay in milliseconds, from 1 to 8 (default is 4).
+Because this value is set during device attach-time, in order for a change in
+this value to take effect, one has to either set
+.Va hw.usb.uaudio.buffer_ms
+in
+.Pa /boot/loader.conf
+and reboot, or set it through
+.Xr sysctl 8 ,
+and re-attach the device.
+.It Va hw.usb.uaudio.default_bits
+Default sample bits, from 0 to 32 (default is 32).
+.It Va hw.usb.uaudio.default_channels
+Default sample channels, from 0 to
+.Pa UAUDIO_CHANNELS_MAX
+(default is 0). If set to 0, the channels
+will be either 4 for USB devices running in full-speed mode, or
+.Pa UAUDIO_CHANNELS_MAX .
+.Pp
+.Pa UAUDIO_CHANNELS_MAX
+is defined as the minimum value between 64 and the highest supported channel
+number (see
+.Pa AFMT_CHANNEL_MAX ) .
+.It Va hw.usb.uaudio.default_rate
+Default sample rate.
+If set to 0, the device's defaults will be used.
+.It Va hw.usb.uaudio.handle_hid
+Let
+.Nm
+handle HID volume keys, if any (default is 1).
+.Bl -tag -width 2n
+.It 0
+Disabled.
+.It 1
+Enabled.
+.El
+.El
+.Pp
+If
+.Xr usb 4
+has been compiled with
+.Va USB_DEBUG
+on, the following
+.Xr sysctl 8
+variable is also available:
+.Bl -tag -width indent
+.It Va hw.usb.uaudio.debug
+Debug output level (default is 0).
+.El
.Sh SEE ALSO
.Xr sound 4 ,
-.Xr usb 4
+.Xr usb 4 ,
+.Xr sysctl 8
.Rs
.%T "USB Audio Class Specifications"
.%U http://www.usb.org/developers/docs/devclass_docs/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 22, 10:23 PM (3 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24070622
Default Alt Text
D43649.id133502.diff (1 KB)
Attached To
Mode
D43649: snd_uaudio.4: document sysctls
Attached
Detach File
Event Timeline
Log In to Comment