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

  man pages->OpenBSD man pages -> mixerctl (1)              



NAME    [Toc]    [Back]

     mixerctl - control audio mixing

SYNOPSIS    [Toc]    [Back]

     mixerctl [-nv] [-f file] -a
     mixerctl [-nv] [-f file] name [...]
     mixerctl [-q]  [-f file] name=value [...]

DESCRIPTION    [Toc]    [Back]

     The mixerctl command displays or sets various  audio  system
mixing variables.
   If  a  list  of variables is present on the command
line, mixerctl
     prints the current value of those variables for  the  specified device.  By
     default, mixerctl operates on the /dev/mixer device.

     The options are as follows:

     -a        Print  all device variables and their current values.

     -f file  Specify an alternative audio mixing device.

     -n       Suppress printing of the variable name.

     -q       Suppress all printing when setting a variable.

     -v       Show the possible values  of  enumeration  and  set
valued variables.
   Enumerated  values are shown in ``[]'' and
set values are
              shown in ``{}''.

              Attempt to  set  the  specified  variable  name  to

     Values  may  be  specified  in  either  absolute or relative
forms.  The relative
 form is indicated by a prefix of `+' or `-'  to  denote
an increase or
     decrease, respectively.

     The exact set of controls that can be manipulated depends on
the mixer.
     The general format (in both getting and setting a value) is


     The class can have values like inputs or outputs  indicating
that the control
  affects the input or output, respectively, to the mixer.  The name
     indicates what part of the mixer the control affects.   Continuous mixer
     values,  e.g.,  volume,  have  numeric  values  in the range
0-255.  If value
     can be set for each channel independently,  the  values  are
printed separated
 by commas.  Discrete mixer values, e.g., the recording
source, have
     symbolic names.  Depending on the mixer it may either be  an
     or a set.

ENVIRONMENT    [Toc]    [Back]

     MIXERDEVICE  The audio mixer device to use.

FILES    [Toc]    [Back]

     /dev/mixer  default mixer audio device

EXAMPLES    [Toc]    [Back]

     The command

           $ mixerctl -a -v

     can produce

           inputs.mic=0,0 volume
           inputs.mic.mute=off  [ off on ]
           inputs.cd=220,220 volume
           inputs.cd.mute=off  [ off on ]
           inputs.dac=220,220 volume
           inputs.dac.mute=off  [ off on ]
           record.record=220,220 volume
           record.record.source=mic  [ mic cd dac ]
           monitor.monitor=0 volume

SEE ALSO    [Toc]    [Back]

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

HISTORY    [Toc]    [Back]

     The mixerctl command first appeared in NetBSD 1.3.

OpenBSD      3.6                            May      4,      1997
[ Back ]
 Similar pages
Name OS Title
audioctl OpenBSD control audio device
DXmCreateColorMix Tru64 Creates a color mixing widget, without
asecure HP-UX control access to Audio on a workstation
Asecure HP-UX control access to Audio on a workstation
DXmCreateColorMixDialog Tru64 Creates a color mixing widget with a dialog box.
mvPrimaryAudio IRIX Set/get the movie instance with control over the audio hardware
cdio OpenBSD compact disc audio player and control utility
ALgetfillpoint IRIX (obsolete) control select() or poll() behavior of an audio port
apanel IRIX control panel for Audio Hardware: input and output levels, rates, sources and syncs
DXmColorMixSetNewColor Tru64 Sets the new color red, green, and blue values in the color mixing widget.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service