freebsd-dev/usr.sbin/mixer
Kyle Evans 4014365e42 mixer: remove volume backwards compat, add % interpretation
The current situation is fairly confusing, where an integer is interpreted
as a percent until you slap a decimal on it and magically it becomes an
absolute value.

Let's have a flag day in 14.0 and remove this shim entirely.  Setting with
percent can still be useful, so allow a trailing '%' to indicate as such.
As a side effect, we tighten down the format allowed in the volume a little
bit by ensuring there's no trailing garbage after the value once it's
separated into left and right components.

Reviewed by:	christos, hselasky, pauamma_gundo.com (manpages)
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D35101
2022-06-17 22:50:58 -05:00
..
Makefile Implement and use new mixer(3) library for FreeBSD. 2021-09-22 19:43:56 +02:00
Makefile.depend
mixer.8 mixer: remove volume backwards compat, add % interpretation 2022-06-17 22:50:58 -05:00
mixer.c mixer: remove volume backwards compat, add % interpretation 2022-06-17 22:50:58 -05:00