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
113 [userland ->
114 feeder_root(0x00201000) ->
115 feeder_format(0x00201000 -> 0x00200010) ->
116 feeder_volume(0x00200010) -> hardware]
119 .Bl -tag -width ".Dv provider_info"
121 Whether the PCM audio device node is created by in-kernel audio subsystem or
126 The PCM audio device node relative path in devfs.
128 The description of the PCM audio device.
131 This can be 0 if this PCM audio device does not support playback at all.
134 This can be 0 if this PCM audio device does not support recording at all.
137 This exists only if this PCM audio device supports playback.
139 .Bl -tag -width ".Dv min_rate"
141 Minimum supported sampling rate.
143 Maximum supported sampling rate.
153 This exists only if this PCM audio device supports recording.
155 .Bl -tag -width ".Dv min_rate"
157 Minimum supported sampling rate.
159 Maximum supported sampling rate.
168 Provider-specific fields.
169 This field may not exist if the PCM audio device is not provided by in-kernel
170 interface.
175 .Bl -tag -width ".Dv channel_info"
182 Whether the sound card has bit-perfect mode enabled.
186 Playback virtual channel sample rate.
192 Recording virtual channel sample rate.
198 .Bl -tag -width ".Dv hwbuf_blkcnt"
209 .It Dv rate
210 Sampling rate.
256 A string specifying the provider of the PCm audio device.
260 .Bl -tag -width ".Dv SNDSTIOC_FLUSH_USER_DEVS"
262 Drop any previously fetched PCM audio devices list snapshots.
265 Generate and/or return PCM audio devices list snapshots to callers.
271 If there is no existing PCM audio device list snapshot available in the
274 a new PCM audio device list snapshot will be automatically generated.
293 Once a PCM audio device list snapshot is returned to user-space successfully,
298 Add a list of PCM audio devices provided by callers to
309 Userspace-backed PCM audio device nodes should be listed inside the serialized
312 Flush any PCM audio devices previously added by callers.
316 .Bl -tag -width ".Pa /dev/sndstat" -compact
320 The following code enumerates all available PCM audio devices:
321 .Bd -literal -offset indent
341 /* Open sndstat node in read-only first */
388 The nvlist-based ioctls support for