![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
DESCRIPTIONThe
If no commands are specified, all valid controls are
displayed on
stdout. Unless
Commands use the following two formats to display and change controls respectively: [group/]stream[channel].function [group/]stream[channel].function=value On the left-hand side are specified the control group (if any), the affected stream name, and the optional channel number. Examples of left-hand side terms: output.level output[0].level If the channel number (including the brackets) is omitted, the command is applied to all channels. Values are numbers between 0 and 1. Two-state controls (switches) take either 0 or 1 as value, typically corresponding to the off and on states respectively. If a decimal is prefixed by the plus (minus) sign then the given value is added to (subtracted from) the current value of the control. If "!" is used instead of a number, then the switch is toggled. EXAMPLESIncrease the $ sndioctl
output.level=+0.1 Mute all $ sndioctl output.mute=1 Toggle the above $ sndioctl output.mute=! Allow audio recording and set all # sysctl kern.audio.record=1 $ sndioctl input.mute=0 input.level=0.5 SEE ALSO
|