=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndioctl/sndioctl.1,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/sndioctl/sndioctl.1 2020/02/26 14:48:46 1.3 --- src/usr.bin/sndioctl/sndioctl.1 2020/02/26 15:36:27 1.4 *************** *** 1,4 **** ! .\" $OpenBSD: sndioctl.1,v 1.3 2020/02/26 14:48:46 ratchov Exp $ .\" .\" Copyright (c) 2014-2020 Alexandre Ratchov .\" --- 1,4 ---- ! .\" $OpenBSD: sndioctl.1,v 1.4 2020/02/26 15:36:27 ratchov Exp $ .\" .\" Copyright (c) 2014-2020 Alexandre Ratchov .\" *************** *** 79,87 **** .Pp There are 4 parameter types: switches, numbers, selectors, and vectors. .Pp ! Numbers are specified in decimal and follow the same semantics ! as MIDI controllers. ! Values are in the 0..127 range and 64 is the neutral state (if applicable). Two-state controls (switches) take either 0 or 1 as value, typically corresponding to the .Em off --- 79,85 ---- .Pp There are 4 parameter types: switches, numbers, selectors, and vectors. .Pp ! Values are numbers between 0 and 1. Two-state controls (switches) take either 0 or 1 as value, typically corresponding to the .Em off *************** *** 97,104 **** is used instead of a number, then the switch is toggled. Examples: .Pp ! .Dl hw/spkr.level=85 ! .Dl hw/spkr.level=+10 .Dl hw/spkr.mute=0 .Dl hw/spkr.mute=! .Pp --- 95,102 ---- is used instead of a number, then the switch is toggled. Examples: .Pp ! .Dl hw/spkr.level=0.85 ! .Dl hw/spkr.level=+0.1 .Dl hw/spkr.mute=0 .Dl hw/spkr.mute=! .Pp *************** *** 116,127 **** Values are specified as comma-separated components. Each component is a substream, followed by a colon, followed by a number. ! If the colon and the number are omitted, then 127 is ! assumed. If a component is missing, then 0 is assumed. Example: .Pp ! .Dl hw/monitor.mix=play:120,linein:85 .Dl hw/record.source=mic,linein .Pp Numbers are specified as discussed above. --- 114,124 ---- Values are specified as comma-separated components. Each component is a substream, followed by a colon, followed by a number. ! If the colon and the number are omitted, then 1 is assumed. If a component is missing, then 0 is assumed. Example: .Pp ! .Dl hw/monitor.mix=play:0.12,linein:0.85 .Dl hw/record.source=mic,linein .Pp Numbers are specified as discussed above.