version 1.16, 2003/10/22 20:41:36 |
version 1.17, 2004/05/09 03:37:45 |
|
|
.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 |
|
.Pa /dev/audio |
|
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/audioctl -a) > /dev/audio |
or |
or |
.Bd -literal -offset indent -compact |
.Bd -literal -offset indent -compact |
$ (audioctl -f /dev/stdout -w blocksize=1024; cat file.au) \e |
$ (audioctl -f /dev/audioctl -w blocksize=1024; cat file.au) \e |
> /dev/audio |
> /dev/audio |
.Ed |
.Ed |
.Sh SEE ALSO |
.Sh SEE ALSO |