OpenBSD manual page server

Manual Page Search Parameters

AUDIOCTL(1) General Commands Manual AUDIOCTL(1)

audioctlcontrol audio device

audioctl [-an] [-f file]

audioctl [-n] [-f file] name ...

audioctl [-n] [-f file] name=value ...

The audioctl command displays or sets various audio system driver variables. If a list of variables is present on the command line, audioctl prints the current value of those variables for the specified device. By default, audioctl operates on the /dev/audioctl device.

The options are as follows:

Print all device variables and their current values. This is the default, if no parameters are given to audioctl.
file
Specify an alternative audio control device.
Suppress printing of the variable name.
name=value
Attempt to set the specified variable name to value.

Variables may only be changed if the device is not opened for playback or recording by another process.

Audio control device to use.

/dev/audioctl
default audio control device

To set the playing sampling rate to 11025 you can enter:

$ audioctl play.rate=11025

aucat(1), cdio(1), mixerctl(1), audio(4), sysctl(8)

The audioctl command first appeared in NetBSD 1.3.

January 29, 2016 OpenBSD-5.9