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

Diff for /src/usr.bin/audioctl/Attic/audioctl.1 between version 1.18 and 1.19

version 1.18, 2004/07/06 02:46:06 version 1.19, 2004/07/30 11:48:58
Line 52 
Line 52 
 .Nm audioctl  .Nm audioctl
 .Op Fl f Ar file  .Op Fl f Ar file
 .Op Fl n  .Op Fl n
 .Ar name=value  .Ar name Ns = Ns Ar value
 .Op Ar ...  .Op Ar ...
 .Sh DESCRIPTION  .Sh DESCRIPTION
 The  The
Line 68 
Line 68 
 device.  device.
 .Pp  .Pp
 The options are as follows:  The options are as follows:
 .Bl -tag -width Ds  .Bl -tag -width "name=valueXX"
 .It Fl a  .It Fl a
 Print all device variables and their current values.  Print all device variables and their current values.
 .It Ar name=value  
 Attempt to set the specified variable  
 .Ar name  
 to  
 .Ar value .  
 .It Fl f Ar file  .It Fl f Ar file
 Specify an alternative audio control device.  Specify an alternative audio control device.
 .It Fl n  .It Fl n
 Suppress printing of the variable name.  Suppress printing of the variable name.
   .It Ar name Ns = Ns Ar value
   Attempt to set the specified variable
   .Ar name
   to
   .Ar value .
 .El  .El
 .Sh ENVIRONMENT  .Sh ENVIRONMENT
 .Bl -tag -width AUDIOCTLDEVICE  .Bl -tag -width AUDIOCTLDEVICE
Line 92 
Line 92 
 default audio control device  default audio control device
 .El  .El
 .Sh EXAMPLES  .Sh EXAMPLES
 To set the playing sampling rate to 11025 you can enter  To set the playing sampling rate to 11025 you can enter:
 .Pp  .Pp
 .Dl $ audioctl play.sample_rate=11025  .Dl $ audioctl play.sample_rate=11025
 .Pp  .Pp
Line 102 
Line 102 
 device is opened.  device is opened.
 This can be circumvented like so:  This can be circumvented like so:
 .Pp  .Pp
 .Dl $ (cat file.au; audioctl -f /dev/audioctl -a) > /dev/audio  .Dl $ (cat file.au; audioctl -f /dev/audioctl -a) \*(Gt /dev/audio
 or  or
 .Bd -literal -offset indent -compact  .Bd -literal -offset indent -compact
 $ (audioctl -f /dev/audioctl blocksize=1024; cat file.au) \e  $ (audioctl -f /dev/audioctl blocksize=1024; cat file.au) \e
         > /dev/audio          \*(Gt /dev/audio
 .Ed  .Ed
 .Sh SEE ALSO  .Sh SEE ALSO
   .Xr aucat 1 ,
   .Xr cdio 1 ,
 .Xr mixerctl 1 ,  .Xr mixerctl 1 ,
 .Xr audio 4 ,  .Xr audio 4 ,
 .Xr sysctl 8  .Xr sysctl 8

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19