summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mixer/mixer.8
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-09 15:25:52 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-09 15:25:52 +0000
commit44c5b8459b18fe23017b645ce085890525e711a2 (patch)
treed8ffcf5a71a53af4f6562b589196dceb07711e4d /usr.sbin/mixer/mixer.8
parentff8a6b8bb5ec82a89ad7d0a9d782d6e4363721d5 (diff)
downloadFreeBSD-src-44c5b8459b18fe23017b645ce085890525e711a2.zip
FreeBSD-src-44c5b8459b18fe23017b645ce085890525e711a2.tar.gz
Implement relative mixer adjustment.
PR: 46679 (similar functionality)
Diffstat (limited to 'usr.sbin/mixer/mixer.8')
-rw-r--r--usr.sbin/mixer/mixer.822
1 files changed, 17 insertions, 5 deletions
diff --git a/usr.sbin/mixer/mixer.8 b/usr.sbin/mixer/mixer.8
index 3f5a926..1f5a571 100644
--- a/usr.sbin/mixer/mixer.8
+++ b/usr.sbin/mixer/mixer.8
@@ -37,19 +37,24 @@
.Nm
.Op Fl f Ar device
.Op Fl s
-.Oo
.Oo Ar dev
-.Op Ar lvol Ns Op : Ns Ar rvol
-.Cm | recsrc |
+.Op Oo +|- Ns Oc Ns Ar lvol Ns Op : Ns Oo +|- Oc Ns Ar rvol Oc
+.Ar ...
+.Nm
+.Op Fl f Ar device
+.Op Fl s
+.Cm recsrc
+.Ar ...
+.Nm
+.Op Fl f Ar device
+.Op Fl s
.Sm off
.Eo \&{
.Cm ^ | + | - | =
.Sm on
.Ec \&} Ns Cm rec
.Ar rdev
-.Oc
.Ar ...
-.Oc
.Sh DESCRIPTION
The
.Nm
@@ -87,6 +92,13 @@ arguments may be from 0 - 100. Omitting
.Ar dev
and including only the channel settings will change the main volume level.
.Pp
+If the left or right channel settings are prefixed with
+.Sq +
+or
+.Sq -
+the value following will be used as a relative adjustment, modifying the
+current settings by the amount specified.
+.Pp
If the
.Fl s
flag is used, the current mixer values will be displayed in a format suitable
OpenPOWER on IntegriCloud