summaryrefslogtreecommitdiff
path: root/usr.bin/mixerctl/mixerctl.1
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-01 17:07:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-01 17:07:27 +0000
commit5ee7e5d2d9082162659464218f0f27701f9785d5 (patch)
treefe8f30a3fe5cd86483edb8d9382ba1835338c27f /usr.bin/mixerctl/mixerctl.1
parent54c9b5f2a649d6c377bc16d59d8c50e9b7854c58 (diff)
toggle support from janus@area319.de. i was unsure, but a few other
people found this very useful
Diffstat (limited to 'usr.bin/mixerctl/mixerctl.1')
-rw-r--r--usr.bin/mixerctl/mixerctl.118
1 files changed, 17 insertions, 1 deletions
diff --git a/usr.bin/mixerctl/mixerctl.1 b/usr.bin/mixerctl/mixerctl.1
index 335879e67b7..6889bfd51f5 100644
--- a/usr.bin/mixerctl/mixerctl.1
+++ b/usr.bin/mixerctl/mixerctl.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mixerctl.1,v 1.22 2004/11/22 09:26:24 jsg Exp $
+.\" $OpenBSD: mixerctl.1,v 1.23 2005/10/01 17:07:26 deraadt Exp $
.\" $NetBSD: mixerctl.1,v 1.8 1998/05/09 12:41:16 augustss Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -50,6 +50,10 @@
.Op Fl f Ar file
.Ar name Op Ar ...
.Nm mixerctl
+.Op Fl qt
+.Op Fl f Ar file
+.Ar name Op Ar ...
+.Nm mixerctl
.Op Fl q
.Pf \ \& Op Fl f Ar file
.Xo
@@ -79,6 +83,8 @@ Specify an alternative audio mixing device.
Suppress printing of the variable name.
.It Fl q
Suppress all printing when setting a variable.
+.It Fl t
+Attempt to select the next possible enumeration value.
.It Fl v
Show the possible values of enumeration and set valued variables.
Enumerated values are shown in
@@ -153,6 +159,16 @@ record.record=220,220 volume
record.record.source=mic [ mic cd dac ]
monitor.monitor=0 volume
.Ed
+.Pp
+The command to toggle
+.Dq inputs.dac.mute
+.Pp
+.Dl "$ mixerctl -t inputs.dac.mute"
+.Pp
+produces
+.Bd -literal -offset indent
+inputs.dac.mute: off -> on
+.Ed
.Sh SEE ALSO
.Xr aucat 1 ,
.Xr audioctl 1 ,