1.\" Copyright (c) 1997 2.\" Mike Pritchard <mpp@FreeBSD.ORG>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 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. 15.\" 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 26.\" SUCH DAMAGE. 27.\" 28.\" $FreeBSD$ 29.\" 30.Dd January 9, 1997 31.Dt MIXER 8 32.Os 33.Sh NAME 34.Nm mixer 35.Nd set/display soundcard mixer values 36.Sh SYNOPSIS 37.Nm 38.Op Fl f Ar device 39.Op Fl s 40.Oo 41.Oo Ns 42.Ar dev Op Ar lvol Ns Op Ar :rvol 43.Li | recsrc | 44.Ar {^|+|-|=}rec rdev 45.Oc 46.Ar ... \& 47.Oc 48.Sh DESCRIPTION 49The 50.Nm 51command is used to set and display soundcard mixer device levels. 52It may 53also be used to start and stop recording from the soundcard. The list 54of mixer devices that may be modified are: 55.Pp 56.Bd -ragged -offset indent 57vol, bass, treble, synth, pcm, speaker, mic, cd, mix, 58pcm2, rec, igain, ogain, line1, line2, and line3. 59.Ed 60.Pp 61Not all mixer devices are available. 62.Pp 63When 64.Nm 65is run without any arguments, all supported devices are displayed 66along with current values. 67If the 68.Ar dev 69argument is specified, the value for the 70.Ar dev 71device will be displayed. 72.Pp 73To modify the mixer value 74.Ar dev , 75the optional left and right channel settings of 76.Ar lvol Ns Op Ar :rvol 77may be specified. The 78.Ar lvol 79and 80.Ar rvol 81arguments may be from 0 - 100. 82.Pp 83If the 84.Fl s 85flag is used, the current mixer values will be displayed in a format suitable 86for use as the command-line arguments to a future invocation of 87.Nm 88(as above). 89.Pp 90To change the recording device you use one of: 91.Bl -tag -width =rec -offset indent 92.It ^rec 93toggles 94.Ar rdev 95of possible recording devices 96.It +rec 97adds 98.Ar rdev 99to possible recording devices 100.It -rec 101removes 102.Ar rdev 103from possible recording devices 104.It =rec 105sets the recording device to 106.Ar rdev 107.El 108.Pp 109The above commands work on an internal mask. After all the options 110have been parsed, it will set then read the mask from the sound card. 111This will let you see EXACTLY what the soundcard is using for the 112recording device(s). 113.Pp 114The option recsrc will display the current recording devices. 115.Pp 116The option 117.Fl f 118.Ar device 119will open 120.Ar device 121as the mixer device. 122.Sh FILES 123.Bl -tag -width /dev/mixer -compact 124.It Pa /dev/mixer 125the default mixer device 126.El 127.Sh SEE ALSO 128.Xr cdcontrol 1 129.Sh HISTORY 130The 131.Nm 132command first appeared in 133.Fx 2.0.5 . 134.Sh AUTHORS 135.An -nosplit 136Original source by 137.An Craig Metz Aq cmetz@thor.tjhsst.edu 138and 139.An Hannu Savolainen . 140Mostly rewritten by 141.An John-Mark Gurney Aq jmg@FreeBSD.org . 142This 143manual page was written by 144.An Mike Pritchard Aq mpp@FreeBSD.org . 145