Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163405516
D30027.id88318.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
D30027.id88318.diff
View Options
Index: share/man/man4/sndstat.4
===================================================================
--- share/man/man4/sndstat.4
+++ share/man/man4/sndstat.4
@@ -47,10 +47,11 @@
.Sh DESCRIPTION
The ioctl interface provided by
.Pa /dev/sndstat
-device allows callers to enumeration PCM audio devices available for use.
+device allows callers to enumerate PCM audio devices available for use. In
+other words, it provides means to get the list of all audio devices available
+to the system.
.Sh IOCTLS
-For all ioctls requiring data exchange between the subsystem and callers,
-the following structures are used to describe a serialized nvlist:
+For all ioctl calls use the following structure:
.Bd -literal -offset indent
struct sndstioc_nv_arg {
size_t nbytes;
@@ -58,7 +59,10 @@
};
.Ed
.Pp
-Here is an example of an nvlist, with explanations of the common fields:
+The buf from above will be filled with raw bytes. Those bytes can be unpacked
+into nvlist (array like structure).
+
+Here is an example of nvlist object with explanations of the common fields:
.Bd -literal -offset indent
dsps (NVLIST ARRAY): 1
from_user (BOOL): FALSE
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 10:24 PM (4 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35417739
Default Alt Text
D30027.id88318.diff (1 KB)
Attached To
Mode
D30027: Improve sndstat man page
Attached
Detach File
Event Timeline
Log In to Comment