audiotest - test audio device
audiotest [-2457l] [-r 48000 | 96000 | 192000] [dev]...
The audiotest utility runs a test for the named audio device (or all audio devices found on the system if none is given). The test includes playing an audio sample over each channel and measuring the rate of playback for clock drift.
The following options are supported:
Loop mode. The test is run in an infinite loop.
Sample rate, in Hz. If not specified, the default is 48000.
Stereo (2-channel) mode. This is the default mode. Playback assumes 2 channels are present.
Quadraphonic mode (4-channel surround). The test assumes that four surround channels are present.
Surround sound mode (5.1). The test checks the left, right, surround left, surround right, and center channels. The low frequency effects channel is not tested.
Surround sound mode (7.1). The test checks the left, right, surround left, surround right, back surround left, back surround right, and center channels. The low frequency effects channel is not tested.
The path of the device to test, for example, /dev/dsp0.
See attributes(7) for descriptions of the following attributes:
audiotest has no way to detect the number of actual audio channels supported by the physical device.
audiotest does not test the low-frequency effects (LFE) channel.
There is no test for audio capture, volume controls, or other advanced device features.