OpenBSD CVS

CVS log for src/usr.bin/sndioctl/sndioctl.c


[BACK] Up to [local] / src / usr.bin / sndioctl

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_7


Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 27 21:44:47 2020 UTC (4 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.5: +14 -3 lines
Diff to previous 1.5 (colored)

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@.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.