CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2020/04/27 15:44:47

Modified files:
        usr.bin/sndioctl: sndioctl.c 

Log message:
Display multi-state controls with exactly three decimal places.
Because for now, the maximum raw value of such controls is either
127 or 255, that assures that whenever the raw value changes, the
displayed value changes, too.  At the same time, it preserves the
property that control values are not shown with excessive, misleading
precision.
If controls will ever be introduced that will have maximum raw
values of less than 100 or of more than 999, the number of decimal
places should then be reduced or increased for such controls as
appropriate.
With important help and an OK from ratchov@.

Reply via email to