git: 23269774b052 - stable/14 - mixer.8: Fix wrong sentence
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Feb 2024 23:22:46 UTC
The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=23269774b052dc996c18e47450d8dc99646b2e6f commit 23269774b052dc996c18e47450d8dc99646b2e6f Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2024-02-12 10:59:16 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2024-02-26 23:22:31 +0000 mixer.8: Fix wrong sentence 246e0457d93071ffd901c78e3ee7badc5f51bd4c ("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 (cherry picked from commit 7bd14d09a92a63f217ccee92e7fc9a1d6d60b387) --- usr.sbin/mixer/mixer.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/mixer/mixer.8 b/usr.sbin/mixer/mixer.8 index 5750b81c98c5..db0ec5f23a0c 100644 --- a/usr.sbin/mixer/mixer.8 +++ b/usr.sbin/mixer/mixer.8 @@ -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