[BACK]Return to sndioctl.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / sndioctl

Diff for /src/usr.bin/sndioctl/sndioctl.1 between version 1.7 and 1.8

version 1.7, 2020/04/21 13:05:04 version 1.8, 2020/04/21 13:13:16
Line 80 
Line 80 
 Examples of left-hand side terms:  Examples of left-hand side terms:
 .Pp  .Pp
 .Dl output.level  .Dl output.level
 .Dl hw/spkr[6].mute  .Dl output[0].level
 .Pp  .Pp
 Values are numbers between 0 and 1.  Values are numbers between 0 and 1.
 Two-state controls (switches) take either 0 or 1 as value,  Two-state controls (switches) take either 0 or 1 as value,
Line 96 
Line 96 
 If  If
 .Qq \&!  .Qq \&!
 is used instead of a number, then the switch is toggled.  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=!  
 .Sh EXAMPLES  .Sh EXAMPLES
 The following will set all  The following will set all
   .Ar output
   channels
 .Ar level  .Ar level
 parameters that control the  control to zero:
 .Ar spkr  
 stream to zero:  
 .Pp  .Pp
 .Dl $ sndioctl hw/spkr.level=0  .Dl $ sndioctl output.level=0
 .Pp  .Pp
 The following commands are equivalent:  The following set all
   .Ar output
   channels
   .Ar mute
   control:
 .Pp  .Pp
 .Dl $ sndioctl hw/record[0].source=mic0 hw/record[1].source=mic1  .Dl $ sndioctl output.mute=0
 .Dl $ sndioctl hw/record.source=mic  
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr sioctl_open 3  .Xr sioctl_open 3

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8