1mixerctl(1) User Commands mixerctl(1)
2
3
4
6 mixerctl - audio mixer control command line application
7
9 /usr/sbin/mixerctl [-a | -d dev] [-iv] [-C]
10
11
12 /usr/sbin/mixerctl [-a | -d dev] [-v] -c control [-w value]
13
14
15 /usr/sbin/mixerctl [-a | -d dev] [-f] [-s file | -r file]
16
17
19 The mixerctl command is used to control various features of the audio
20 mixer and to get information about the audio mixer and the audio
21 device.
22
24 The following options are supported. If no options are specified,
25 option -i is assumed:
26
27 -a The command applies to all audio devices.
28
29
30 -c control Indicates a control to access. If -w is not supplied, the
31 information about the control, including its current
32 value, are printed.
33
34
35 -C Prints a dump of the entire set of controls for the audio
36 device including current and possible settings for each
37 control.
38
39
40 -d dev The dev argument specifies an alternate audio control
41 device for the command to use.
42
43
44 -i Prints the audio device type information for the device
45 and other related details.
46
47
48 -s file Saves control values to file.
49
50
51 -r file Restores control values previously saved to file.
52
53
54 -w value Changes the setting of the named control to the given
55 value. The format of the value depends on the type of the
56 control.
57
58 For boolean controls, the value can be either 'on' or
59 'off'. For enumerations, value is one of the possible
60 strings given in the control information. For stereo val‐
61 ues, value takes the form of either a pair of integers
62 (0-100, inclusive) separated by a colon or a single inte‐
63 ger by itself. If two integers are supplied, they refer
64 to the left and right values, respectively. If only a
65 single value is supplied, then value applies to both
66 channels.
67
68 For example, 50:100 means 50% volume on the left channel
69 and full volume on the right. A value of 0 means silence
70 on both channels. For monophonic (mono) values, the num‐
71 ber is a single integer from 0-100, inclusive.
72
73
74 -v Verbose mode. Prints additional information about the
75 device and operation being performed. This option implies
76 the -i option.
77
78
80 AUDIODEV If the -d and -a options are not specified, the AUDIODEV
81 environment variable is consulted. If set, AUDIODEV con‐
82 tains the full path name of the user's default audio
83 device. The default audio device is converted into a con‐
84 trol device, and then used. If the AUDIODEV variable is not
85 set, /dev/audioctl is used.
86
87
89 /dev/audioctl /dev/sound/{0...n}ctl
90
92 See attributes(5) for descriptions of the following attributes:
93
94
95
96
97 ┌─────────────────────────────┬─────────────────────────────┐
98 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
99 ├─────────────────────────────┼─────────────────────────────┤
100 │Architecture │SPARC, x86 │
101 ├─────────────────────────────┼─────────────────────────────┤
102 │Availability │SUNWauda │
103 ├─────────────────────────────┼─────────────────────────────┤
104 │Stability Level │Uncommitted │
105 └─────────────────────────────┴─────────────────────────────┘
106
108 audioconvert(1), audioplay(1), audiorecord(1), open(2), attributes(5)
109
110
111
112SunOS 5.11 30 Apr 2009 mixerctl(1)