AUDIOCTL(1) User Commands AUDIOCTL(1)

audioctl - audio device control command line interface

audioctl list-devices

audioctl show-device [-v] [-d device]

audioctl show-control [-v] [-d device] [control ...]

audioctl set-control [-v] [-d device] control value

audioctl save-controls [-d device] [-f] file

audioctl load-controls [-d device] file

The audioctl command is used to control various settings and features of audio devices, including mixer settings such as playback volume and record gain.

The audioctl command supports the following subcommands.

list-devices

List all the audio devices on the system.

show-device [-v] [-d device] [control ... ]

Display an informational overview of device (or the default device if not specified). If the -v option is specified, then more detail will be displayed.

show-control [-v] [-d device]

Display the control settings for one or more controls of a device (or the default device if not specified). If no control is specified, then the settings for all controls will be displayed. If the -v option is specified, then more detail will be displayed.

set-control [-v] [-d device] control value

Set the control settings for a control of a device (or the default device if not specified) to value. If the -v option is specified, then more verbose output be displayed.

save-controls [-f] [-d device] file

Save all control settings of the device (or the default device if not specified) to the named file. This subcommand will not replace or modify an existing file unless -f (force) is specified.

load-controls [-d device] file

Load previously saved control settings from a file into a device (or all audio devices if not specified).

AUDIODEV
The full path name of the default audio device to use if one is not specified on the command line. If this variable is not set, /dev/audio is used.

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability See below.

The audioctl command and its subcommands are Committed. The names of controls, their values, and device names are Uncommitted. The display output is intended for human consumption, and is Not An Interface. The format of the state files used by the save-controls and load-controls subcommands is Committed Private.

audioplay(1), audiorecord(1), dsp(7I), mixer(7I), attributes(5)
March 18, 2011