xref: /titanic_51/usr/src/man/man1/audiotest.1 (revision bbaa8b60dd95d714741fc474adad3cf710ef4efd)
te
Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
AUDIOTEST 1 "May 5, 2009"
NAME
audiotest - test audio device
SYNOPSIS

audiotest [-24571] [dev] ...
DESCRIPTION

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.

OPTIONS

The following options are supported: -1

Loop mode. The test is run in an infinite loop.

-2

Stereo (2-channel) mode. This is the default mode. Playback assumes 2 channels are present.

-4

Quadraphonic mode (4-channel surround). The test assumes that four surround channels are present.

-5

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.

-7

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.

OPERANDS
dev

The path the device to test, for example, /dev/dsp0.

ATTRIBUTES

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
Architecture SPARC, x86
Interface Stability Committed
SEE ALSO

audioconvert(1), audiorecord(1), mixerctl(1), attributes(5), audio(7I)

BUGS

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.