2 .\" Mike Pritchard <mpp@FreeBSD.org>. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the author nor the names of its contributors
13 .\" may be used to endorse or promote products derived from this software
14 .\" without specific prior written permission.
16 .\" THIS SOFTWARE IS PROVIDED BY MIKE PRITCHARD AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" $FreeBSD: head/usr.sbin/mixer/mixer.8 267668 2014-06-20 09:57:27Z bapt $
35 .Nd set/display soundcard mixer values
46 .Op : Oo Cm + | - Oc Ar rvol
69 utility is used to set and display soundcard mixer device levels.
71 also be used to start and stop recording from the soundcard.
73 of mixer devices that may be modified are:
74 .Bd -ragged -offset indent
75 vol, bass, treble, synth, pcm, speaker, line, mic, cd, mix,
76 pcm2, rec, igain, ogain, line1, line2, line3, dig1, dig2, dig3,
77 phin, phout, video, radio, and monitor.
80 Not all mixer devices are available.
82 Without any arguments,
84 displays the current settings for all supported devices, followed by information
85 about the current recording input devices.
88 argument is specified,
90 displays only the value for that
93 To modify the mixer value
95 the optional left and right channel settings of
96 .Ar lvol Ns Op : Ns Ar rvol
102 arguments may be from 0 - 100.
105 and including only the channel settings will change the main volume level.
107 If the left or right channel settings are prefixed with
111 the value following will be used as a relative adjustment, modifying the
112 current settings by the amount specified.
116 flag is used, the current mixer values will be displayed in a format suitable
117 for use as the command-line arguments to a future invocation of
123 flag provides the above output without mixing field separators.
125 To change the recording device you use one of:
126 .Bl -tag -width =rec -offset indent
130 of possible recording devices
134 to possible recording devices
138 from possible recording devices
140 sets the recording device to
144 The above commands work on an internal mask.
145 After all the options
146 have been parsed, it will set then read the mask from the sound card.
147 This will let you see EXACTLY what the soundcard is using for the
150 The option recsrc will display the current recording devices.
159 .Bl -tag -width /dev/mixer -compact
161 the default mixer device
169 utility first appeared in
174 .An Craig Metz Aq Mt cmetz@thor.tjhsst.edu
176 .An Hannu Savolainen .
178 .An John-Mark Gurney Aq Mt jmg@FreeBSD.org .
180 manual page was written by
181 .An Mike Pritchard Aq Mt mpp@FreeBSD.org .