Lines Matching +full:set +full:- +full:rate +full:- +full:parent
1 .\"-
2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2024-2025 The FreeBSD Foundation
44 utility is used to set and display sound card properties, using a
45 control-driven interface, in order to filter and/or set specific properties.
48 .Bl -tag -width "-f device"
65 .Bl -column xxxxxxxxxxxxxxx xxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxx -offset indent
74 .It bitperfect Ta Boolean Ta Read/Write Ta Bit-perfect mode enabled
75 .It autoconv Ta Boolean Ta Read/Write Ta Auto-conversions enabled
76 .It realtime Ta Boolean Ta Read/Write Ta Real-time mode enabled
79 .It play.rate Ta Number Ta Read/Write Ta Playback sample rate
81 .It play.min_rate Ta Number Ta Read Ta Minimum playback sample rate
82 .It play.max_rate Ta Number Ta Read Ta Maximum playback sample rate
88 .It rec.rate Ta Number Ta Read/Write Ta Recording sample rate
90 .It rec.min_rate Ta Number Ta Read Ta Minimum recording sample rate
91 .It rec.max_rate Ta Number Ta Read Ta Maximum recording sample rate
99 .Pa play.rate ,
101 .Pa rec.rate
102 controls will be read-only if VCHANs are disabled.
105 .Bl -column xxxxxxxxxxxxxxx xxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxx -offset indent
108 .It parentchan Ta String Ta Read Ta Parent (primary) channel name
113 .It rate Ta Number Ta Read Ta Channel sample rate
119 .It volume Ta Volume Ta Read Ta Channel left-right volume in normalized form (0.00 to 1.00).
122 .It hwbuf.rate Ta String Ta Read Ta Hardware buffer sample rate
131 .It swbuf.rate Ta String Ta Read Ta Software buffer sample rate
141 .Bl -tag -width /dev/dspX -compact
149 Disable auto-conversions and enable realtime mode to get as low latencies as
151 .Bd -literal -offset indent
155 Set the playback sample format to 2-channel signed 24-bit low endian, and sample
156 rate to 48000 Hz:
157 .Bd -literal -offset indent
158 $ sndctl play.format=s24le:2.0 play.rate=48000
163 .Bd -literal -offset indent
164 $ sndctl -f /dev/dsp1 pid proc
170 .Bd -literal -offset indent
171 $ sndctl -f /dev/dsp0 -o > info
173 $ sndctl -f /dev/dsp0 `cat info`