1 '\" te
2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
3 .\" 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.
4 .\" 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
5 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH AUDIOTEST 1 "May 13, 2017"
7 .SH NAME
8 audiotest \- test audio device
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBaudiotest\fR [\fB-24571\fR] [\fIdev\fR] ...
13 .fi
14
15 .SH DESCRIPTION
16 .LP
17 The \fBaudiotest\fR utility runs a test for the named audio device (or all
18 audio devices found on the system if none is given). The test includes playing
19 an audio sample over each channel and measuring the rate of playback for clock
20 drift.
21 .SH OPTIONS
22 .LP
23 The following options are supported:
24 .sp
25 .ne 2
26 .na
27 \fB\fB-1\fR\fR
28 .ad
29 .RS 6n
30 Loop mode. The test is run in an infinite loop.
31 .RE
32
33 .sp
34 .ne 2
35 .na
36 \fB\fB-2\fR\fR
37 .ad
38 .RS 6n
39 Stereo (2-channel) mode. This is the default mode. Playback assumes 2 channels
40 are present.
41 .RE
42
43 .sp
44 .ne 2
45 .na
46 \fB\fB-4\fR\fR
47 .ad
48 .RS 6n
49 Quadraphonic mode (4-channel surround). The test assumes that four surround
50 channels are present.
51 .RE
52
53 .sp
54 .ne 2
55 .na
56 \fB\fB-5\fR\fR
57 .ad
58 .RS 6n
59 Surround sound mode (5.1). The test checks the left, right, surround left,
60 surround right, and center channels. The low frequency effects channel is not
61 tested.
62 .RE
63
64 .sp
65 .ne 2
66 .na
67 \fB\fB-7\fR\fR
68 .ad
69 .RS 6n
70 Surround sound mode (7.1). The test checks the left, right, surround left,
71 surround right, back surround left, back surround right, and center channels.
72 The low frequency effects channel is not tested.
73 .RE
74
75 .SH OPERANDS
76 .ne 2
77 .na
78 \fB\fIdev\fR\fR
79 .ad
80 .RS 7n
81 The path the device to test, for example, \fB/dev/dsp0\fR.
82 .RE
83
84 .SH ATTRIBUTES
85 .LP
86 See \fBattributes\fR(5) for descriptions of the following attributes:
87 .sp
88
89 .sp
90 .TS
91 box;
92 c | c
93 l | l .
94 ATTRIBUTE TYPE ATTRIBUTE VALUE
95 _
96 Architecture SPARC, x86
97 _
98 Interface Stability Committed
99 .TE
100
101 .SH SEE ALSO
102 .LP
103 \fBaudioconvert\fR(1), \fBaudiorecord\fR(1),
104 \fBattributes\fR(5), \fBaudio\fR(7I)
105 .SH BUGS
106 .LP
107 \fBaudiotest\fR has no way to detect the number of actual audio channels
108 supported by the physical device.
109 .sp
110 .LP
111 \fBaudiotest\fR does not test the low-frequency effects (LFE) channel.
112 .sp
113 .LP
114 There is no test for audio capture, volume controls, or other advanced device
115 features.
|
1 '\" te
2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
3 .\" Copyright 2020 Peter Tribble.
4 .\" 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.
5 .\" 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
6 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH AUDIOTEST 1 "Feb 8, 2020"
8 .SH NAME
9 audiotest \- test audio device
10 .SH SYNOPSIS
11 .nf
12 \fBaudiotest\fR [\fB-2457\fR] [\fB-l\fR] [\fB-r\fR \fIrate\fR] [\fIdev\fR] ...
13 .fi
14
15 .SH DESCRIPTION
16 The \fBaudiotest\fR utility runs a test for the named audio device (or all
17 audio devices found on the system if none is given). The test includes playing
18 an audio sample over each channel and measuring the rate of playback for clock
19 drift.
20 .SH OPTIONS
21 The following options are supported:
22 .sp
23 .ne 2
24 .na
25 \fB-l\fR
26 .ad
27 .RS 6n
28 Loop mode. The test is run in an infinite loop.
29 .RE
30
31 .sp
32 .ne 2
33 .na
34 \fB-r\fR \fIrate\fR
35 .ad
36 .RS 6n
37 Sample rate. By default 48000Hz is used.
38 .RE
39
40 .sp
41 .ne 2
42 .na
43 \fB-2\fR
44 .ad
45 .RS 6n
46 Stereo (2-channel) mode. This is the default mode. Playback assumes 2 channels
47 are present.
48 .RE
49
50 .sp
51 .ne 2
52 .na
53 \fB-4\fR
54 .ad
55 .RS 6n
56 Quadraphonic mode (4-channel surround). The test assumes that four surround
57 channels are present.
58 .RE
59
60 .sp
61 .ne 2
62 .na
63 \fB-5\fR
64 .ad
65 .RS 6n
66 Surround sound mode (5.1). The test checks the left, right, surround left,
67 surround right, and center channels. The low frequency effects channel is not
68 tested.
69 .RE
70
71 .sp
72 .ne 2
73 .na
74 \fB-7\fR
75 .ad
76 .RS 6n
77 Surround sound mode (7.1). The test checks the left, right, surround left,
78 surround right, back surround left, back surround right, and center channels.
79 The low frequency effects channel is not tested.
80 .RE
81
82 .sp
83 .LP
84 If multiple modes are specified, the last one specified is used.
85
86 .SH OPERANDS
87 .ne 2
88 .na
89 \fIdev\fR
90 .ad
91 .RS 7n
92 The path to the device to test, for example, \fB/dev/dsp0\fR.
93 .RE
94
95 .SH SEE ALSO
96 \fBaudioconvert\fR(1), \fBaudiorecord\fR(1),
97 \fBaudio\fR(7I)
98 .SH BUGS
99 \fBaudiotest\fR has no way to detect the number of actual audio channels
100 supported by the physical device.
101 .sp
102 .LP
103 \fBaudiotest\fR does not test the low-frequency effects (LFE) channel.
104 .sp
105 .LP
106 There is no test for audio capture, volume controls, or other advanced device
107 features.
|