1 .\" $NetBSD: mixerctl.1,v 1.23 2008/08/15 21:10:57 wiz Exp $
3 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" Author: Lennart Augustsson
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
17 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
18 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
19 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
21 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 .\" POSSIBILITY OF SUCH DAMAGE.
34 .Nd control audio mixing
74 command displays or sets various audio system mixing variables.
75 If a list of variables is present on the command line, then
77 prints the current value of those variables for the specified device.
80 flag is specified, all variables for the device are printed.
85 attempts to set the specified variables to the given values.
89 flag can be used to give an alternative mixer device.
95 flag suppresses printing of the variable name.
99 flag shows the possible values of enumeration and set valued
101 Enumerated values are shown in brackets
103 and set values are shown in curly braces
106 The exact set of controls that can be manipulated depends on
108 The general format (in both getting and setting a value) is
110 .Va "class.name" = value
117 indicating that the control affects the input or output
118 of the mixer, respectively.
120 indicates what part of the mixer the control affects.
121 Continuous mixer values, e.g., volume, have numeric values
125 can be set for each channel independently, the values are printed
127 Discrete mixer values, e.g., the recording source, have symbolic names.
128 Depending on the mixer it may either be an enumeration or a set.
130 The suffixes ++ and -- can be used to step through the values of a
132 For numeric controls, these operators increase or decrease, respectively,
133 the value by an amount (the delta) suitable to make
134 the control assume the next possible value.
135 For binary controls, these operators toggle between
140 The operators += and -= change the value of a mixer control by the
141 indicated number of steps.
143 .Bl -tag -width MIXERDEVICE
145 the mixer device to use.
148 .Bl -tag -width /etc/mixerctl.conf -compact
151 .It Pa /etc/mixerctl.conf
152 mixer configuration file
159 inputs.mic=0,0 volume
160 inputs.mic.mute=off [ off on ]
161 inputs.cd=220,220 volume
162 inputs.cd.mute=off [ off on ]
163 inputs.dac=220,220 volume
164 inputs.dac.mute=off [ off on ]
165 record.record=220,220 volume
166 record.record.source=mic [ mic cd dac ]
167 monitor.monitor=0 volume
172 .Xr mixerctl.conf 5 ,
177 command first appeared in
182 flag is still supported.
183 This support will be removed eventually.