Annotation of src/usr.bin/mixerctl/mixerctl.1, Revision 1.5
1.5 ! millert 1: .\" $OpenBSD: mixerctl.1,v 1.4 1998/04/30 13:40:00 provos Exp $
1.4 provos 2: .\" $NetBSD: mixerctl.1,v 1.6 1998/04/27 16:55:23 augustss Exp $
1.5 ! millert 3: .\"
1.1 provos 4: .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
5: .\" All rights reserved.
6: .\"
7: .\" Author: Lennart Augustsson
8: .\"
9: .\" Redistribution and use in source and binary forms, with or without
10: .\" modification, are permitted provided that the following conditions
11: .\" are met:
12: .\" 1. Redistributions of source code must retain the above copyright
13: .\" notice, this list of conditions and the following disclaimer.
14: .\" 2. Redistributions in binary form must reproduce the above copyright
15: .\" notice, this list of conditions and the following disclaimer in the
16: .\" documentation and/or other materials provided with the distribution.
17: .\" 3. All advertising materials mentioning features or use of this software
18: .\" must display the following acknowledgement:
19: .\" This product includes software developed by the NetBSD
20: .\" Foundation, Inc. and its contributors.
21: .\" 4. Neither the name of The NetBSD Foundation nor the names of its
22: .\" contributors may be used to endorse or promote products derived
23: .\" from this software without specific prior written permission.
24: .\"
25: .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
26: .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27: .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28: .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
29: .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30: .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31: .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32: .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33: .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34: .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35: .\" POSSIBILITY OF SUCH DAMAGE.
36: .\"
37: .Dd May 4, 1997
38: .Dt MIXERCTL 1
39: .Os
40: .Sh NAME
41: .Nm mixerctl
42: .Nd control audio mixing
43: .Sh SYNOPSIS
44: .Nm
45: .Op Fl f Ar file
46: .Op Fl n
47: .Op Fl v
48: .Fl a
1.2 millert 49: .br
50: .Nm
1.1 provos 51: .Op Fl f Ar file
52: .Op Fl n
53: .Op Fl v
54: .Ar name ...
1.2 millert 55: .br
56: .Nm
1.1 provos 57: .Op Fl f Ar file
58: .Op Fl n
59: .Fl w
60: .Ar name=value ...
61: .Sh DESCRIPTION
62: The
63: .Nm
64: command displays or sets various audio system mixing variables.
65: If a list of variables is present on the command line, then
66: .Nm
67: prints the current value of those variables for the specified device.
68: If the
69: .Fl a
70: flag is specified, all variables for the device are printed.
71: If the
72: .Fl w
73: flag is specified
74: .Nm
75: attempts to set the specified variables to the given values.
1.5 ! millert 76: .Pp
! 77: Values may be specified in either absolute or relative forms.
! 78: The relative form is indicated by a prefix of
! 79: .Dq +
! 80: or
! 81: .Dq -
! 82: to denote an increase or decrease respectively.
1.1 provos 83: .Pp
84: The
85: .Fl f
86: flag can be used to give an alternative mixer device, the default is
87: .Pa /dev/mixer.
88: .Pp
89: The
90: .Fl n
91: flag suppresses printing of the variable name.
92: .Pp
93: The
94: .Fl v
95: flag shows the possible values of enumeration and set valued
96: variables. Enumerated values are shown in [] and set values
97: are shown in {}.
98: .Sh FILES
99: .Bl -tag -width /dev/mixer
100: .It Pa /dev/mixer
101: mixer audio device
102: .El
1.4 provos 103: .Sh ENVIRONMENT
104: .Bl -tag -width MIXERDEVICE
105: .It Pa MIXERDEVICE
106: the mixer device to use.
1.1 provos 107: .Sh SEE ALSO
108: .Xr audioctl 1 ,
109: .Xr audio 4 ,
110: .Xr sysctl 8
111: .Sh HISTORY
112: The
113: .Nm
114: command first appeared in
115: .Nx 1.3 .
116: