mixer.8: Fix wrong sentence

246e0457d9 ("mixer.8: Add terse example
for increasing volume") mentions that the example changes the volume of
the "first mixer found", while the example shows how the change the
volume of the current mixer's "vol" device. Re-phrease sentence to
reflect the actual behavior of the command.

Also, improve the example by using the % operator, instead of hardcoding
0.05.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Reviewed by:	dev_submerge.ch, markj
Differential Revision:	https://reviews.freebsd.org/D43795
This commit is contained in:
Christos Margiolis 2024-02-12 12:59:16 +02:00
parent 75be886e58
commit 7bd14d09a9

View file

@ -223,11 +223,11 @@ List all available audio devices in the system:
$ mixer -a | grep ^pcm
.Ed
.Pp
Increase the volume for the
Increase the
.Cm vol
device of the first mixer found by 5%:
device's volume by 5%:
.Bd -literal -offset indent
$ mixer vol=+0.05
$ mixer vol=+5%
.Ed
.Pp
Change the volume for the