AUDIOCTL(1) BSD Reference Manual AUDIOCTL(1)
audioctl - control audio device
audioctl [-f file] [-n] -a audioctl [-f file] [-n] name [...] audioctl [-f file] [-n] name=value [...]
The audioctl command displays or sets various audio system driver vari- ables. If a list of variables is present on the command line, audioctl prints the current value of those variables for the specified device. By default, audioctl operates on the /dev/audioctl device. The options are as follows: -a Print all device variables and their current values. -f file Specify an alternative audio control device. -n Suppress printing of the variable name. name=value Attempt to set the specified variable name to value.
AUDIOCTLDEVICE Audio control device to use.
/dev/audioctl default audio control device
To set the playing sampling rate to 11025 you can enter: $ audioctl play.sample_rate=11025 Note that many of the variables that can be inspected and changed are reset when the /dev/audio device is opened. This can be circumvented like so: $ (cat file.au; audioctl -f /dev/audioctl -a) > /dev/audio or $ (audioctl -f /dev/audioctl blocksize=1024; cat file.au) \ > /dev/audio
aucat(1), cdio(1), mixerctl(1), audio(4), sysctl(8)
The audioctl command first appeared in NetBSD 1.3. MirOS BSD #10-current May 4, 1997 1
Generated on 2014-02-10 02:47:05 by $MirOS: src/scripts/roff2htm,v 1.79 2014/02/10 00:36:11 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2014 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.