version 1.12, 2001/05/01 17:58:02 |
version 1.13, 2002/11/14 02:57:27 |
|
|
.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 -w play.sample_rate=11025 |
.Dl $ audioctl -w play.sample_rate=11025 |
.Pp |
.Pp |
Note that many of the variables that can be inspected and changed |
Note that many of the variables that can be inspected and changed |
are reset when the device is opened. |
are reset when the device is opened. |
This can be circumvented like so: |
This can be circumvented like so: |
.Pp |
.Pp |
.Dl (cat file.au; audioctl -f /dev/stdout -a) > /dev/audio |
.Dl $ (cat file.au; audioctl -f /dev/stdout -a) > /dev/audio |
.Pp |
.Pp |
or |
or |
.Pp |
.Pp |
.Dl (audioctl -f /dev/stdout -w blocksize=1024; cat file.au) > /dev/audio |
.Dl $ (audioctl -f /dev/stdout -w blocksize=1024; cat file.au) > /dev/audio |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
.Bl -tag -width AUDIOCTLDEVICE |
.Bl -tag -width AUDIOCTLDEVICE |
.It Ev AUDIOCTLDEVICE |
.It Ev AUDIOCTLDEVICE |