AUDIOCFG(1) BSD General Commands Manual AUDIOCFG(1)NAMEaudiocfg — configure default audio device
SYNOPSISaudiocfg list
audiocfg default index
audiocfg test index
DESCRIPTION
The audiocfg utility helps maintaining the audio and mixer device sym‐
links.
Run with “list”, it lists the available audio devices and shows the cur‐
rently selected default audio device. Called with “test”, it plays a
tone of 2 seconds for each channel of the device with the index index.
Called with “default”, it sets the default audio device to the one with
the index index.
audiocfg needs access to /dev/drvctl and write access to /dev (when used
with “default”) to work.
FILES
/dev/audio Symlink to default audio device.
/dev/audio[0-9]*
Available audio devices.
/dev/audioctl
Symlink to default audio control device.
/dev/audioctl[0-9]*
Available audio control devices.
/dev/drvctl
Used for finding the corresponding audio driver to an audio
device.
/dev/mixer Symlink to default mixer device.
/dev/mixer[0-9]*
Available mixer devices.
/dev/sound Symlink to default audio device (for the difference to
/dev/audio, see audio(4)).
/dev/sound[0-9]*
Available audio devices.
SEE ALSOaudioplay(1), audiorecord(1), audio(4), drvctl(8)BSD September 1, 2010 BSD