Lines Matching +full:pcm +full:- +full:interface +full:- +full:rate

2 .\" SPDX-License-Identifier: BSD-2-Clause
30 .\" Note: The date here should be updated whenever a non-trivial
37 .Nd "nvlist-based PCM audio device enumeration interface"
42 .Bd -ragged -offset indent
46 The ioctl interface provided by
48 device allows callers to enumerate PCM audio devices available for use.
53 .Bd -literal -offset indent
61 .Bd -literal -offset indent
66 desc (STRING): [Generic (0x8086) (Analog Line-out)]
91 rate (NUMBER): 48000
115 [userland ->
116 feeder_root(0x00201000) ->
117 feeder_format(0x00201000 -> 0x00200010) ->
118 feeder_volume(0x00200010) -> hardware]
121 .Bl -tag -width ".Dv provider_info"
123 Whether the PCM audio device node is created by in-kernel audio subsystem or
128 The PCM audio device node relative path in devfs.
130 The description of the PCM audio device.
133 This can be 0 if this PCM audio device does not support playback at all.
136 This can be 0 if this PCM audio device does not support recording at all.
139 This exists only if this PCM audio device supports playback.
141 .Bl -tag -width ".Dv min_rate"
143 Minimum supported sampling rate.
145 Maximum supported sampling rate.
155 This exists only if this PCM audio device supports recording.
157 .Bl -tag -width ".Dv min_rate"
159 Minimum supported sampling rate.
161 Maximum supported sampling rate.
170 Provider-specific fields.
171 This field may not exist if the PCM audio device is not provided by in-kernel
172 interface.
177 .Bl -tag -width ".Dv channel_info"
184 Whether the sound card has bit-perfect mode enabled.
188 Playback virtual channel sample rate.
194 Recording virtual channel sample rate.
200 .Bl -tag -width ".Dv hwbuf_blkcnt"
211 .It Dv rate
212 Sampling rate.
232 Hardware buffer sample rate;
246 Software buffer sample rate;
262 A string specifying the provider of the PCm audio device.
266 .Bl -tag -width ".Dv SNDSTIOC_FLUSH_USER_DEVS"
268 Drop any previously fetched PCM audio devices list snapshots.
271 Generate and/or return PCM audio devices list snapshots to callers.
277 If there is no existing PCM audio device list snapshot available in the
280 a new PCM audio device list snapshot will be automatically generated.
299 Once a PCM audio device list snapshot is returned to user-space successfully,
304 Add a list of PCM audio devices provided by callers to
315 Userspace-backed PCM audio device nodes should be listed inside the serialized
318 Flush any PCM audio devices previously added by callers.
322 .Bl -tag -width ".Pa /dev/sndstat" -compact
326 The following code enumerates all available PCM audio devices:
327 .Bd -literal -offset indent
347 /* Open sndstat node in read-only first */
394 The nvlist-based ioctls support for