*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> audioctl (1)              
Title
Content
Arch
Section
 

AUDIOCTL(1)

Contents


NAME    [Toc]    [Back]

     audioctl - control audio device

SYNOPSIS    [Toc]    [Back]

     audioctl [-f file] [-n] -a
     audioctl [-f file] [-n] name [...]
     audioctl [-f file] [-n] name=value [...]

DESCRIPTION    [Toc]    [Back]

     The audioctl command displays or sets various  audio  system
driver variables.
   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.

ENVIRONMENT    [Toc]    [Back]

     AUDIOCTLDEVICE  Audio control device to use.

FILES    [Toc]    [Back]

     /dev/audioctl  default audio control device

EXAMPLES    [Toc]    [Back]

     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

SEE ALSO    [Toc]    [Back]

      
      
     aucat(1), cdio(1), mixerctl(1), audio(4), sysctl(8)

HISTORY    [Toc]    [Back]

     The audioctl command first appeared in NetBSD 1.3.

OpenBSD      3.6                            May      4,      1997
[ Back ]
 Similar pages
Name OS Title
devctl FreeBSD device event reporting and device control interface
uaudio FreeBSD USB audio device driver
uaudio OpenBSD USB audio device driver
aria OpenBSD Aria 16 audio device driver
ALgetparams IRIX (obsolete) get/set the value of the specified audio device states
emu10k1 FreeBSD FreeBSD PCM audio device infrastructure
pcm FreeBSD FreeBSD PCM audio device infrastructure
als4000 FreeBSD FreeBSD PCM audio device infrastructure
sv OpenBSD S3 SonicVibes audio device driver
awacs OpenBSD Apple audio device driver
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service