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