From 44c5b8459b18fe23017b645ce085890525e711a2 Mon Sep 17 00:00:00 2001 From: mdodd Date: Wed, 9 Apr 2003 15:25:52 +0000 Subject: Implement relative mixer adjustment. PR: 46679 (similar functionality) --- usr.sbin/mixer/mixer.8 | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'usr.sbin/mixer/mixer.8') 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 -- cgit v1.1