Print this page
12287 errors in audio utility man pages
   1 '\" t
   2 .\"
   3 .\" This file and its contents are supplied under the terms of the
   4 .\" Common Development and Distribution License ("CDDL"), version 1.0.
   5 .\" You may only use this file in accordance with the terms of version
   6 .\" 1.0 of the CDDL.
   7 .\"
   8 .\" A full copy of the text of the CDDL should have accompanied this
   9 .\" source.  A copy of the CDDL is also available via the Internet at
  10 .\" http://www.illumos.org/license/CDDL.
  11 .\"
  12 .\"
  13 .\" Copyright 2011 Nexenta Systems, Inc.  All rights reserved.

  14 .\"
  15 .TH AUDIOCTL 1 "Mar 18, 2011"
  16 .SH NAME
  17 audioctl - audio device control command line interface
  18 .SH SYNOPSIS
  19 .nf
  20 \fBaudioctl\fR \fBlist-devices\fR
  21 .fi
  22 
  23 .LP
  24 .nf
  25 \fBaudioctl\fR \fBshow-device\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR]
  26 .fi
  27 
  28 .LP
  29 .nf
  30 \fBaudioctl\fR \fBshow-control\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fB] [\fIcontrol\fR ...]
  31 .fi
  32 
  33 .LP
  34 .nf
  35 \fBaudioctl\fR \fBset-control\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fB] \fIcontrol\fR \fIvalue\fR
  36 .fi
  37 
  38 .LP
  39 .nf
  40 \fBaudioctl\fR \fBsave-controls\fR [\fB-d\fR \fIdevice\fB] [\fB-f\fR] \fIfile\fR
  41 .fi
  42 
  43 .LP
  44 .nf
  45 \fBaudioctl\fR \fBload-controls\fR [\fB-d\fR \fIdevice\fB] \fIfile\fR
  46 .fi
  47 





  48 .SH DESCRIPTION
  49 The \fBaudioctl\fP command is used to control various settings and features
  50 of audio devices, including mixer settings such as playback volume and
  51 record gain.
  52 .SH SUBCOMMANDS
  53 The \fBaudioctl\fR command supports the following subcommands.
  54 .sp
  55 .ne 2
  56 .na
  57 \fBlist-devices\fR
  58 .ad
  59 .sp .6
  60 .RS 4n
  61 List all the audio devices on the system.
  62 .RE
  63 
  64 .sp
  65 .ne 2
  66 .na
  67 \fBshow-device\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR] [\fBcontrol\fR ... ]
  68 .ad
  69 .sp .6
  70 .RS 4n
  71 Display an informational overview of \fIdevice\fR (or the default device if
  72 not specified).  If the \fB-v\fR option is specified, then more detail
  73 will be displayed.
  74 .RE
  75 
  76 .sp
  77 .ne 2
  78 .na
  79 \fBshow-control\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR]
  80 .ad
  81 .sp .6
  82 .RS 4n
  83 Display the control settings for one or more \fIcontrols\fR of a
  84 \fIdevice\fR (or the default device if not specified).  If no \fIcontrol\fR is
  85 specified, then the settings for all controls will be displayed. If
  86 the \fB-v\fR option is specified, then more detail will be displayed.
  87 .RE
  88 
  89 .sp
  90 .ne 2
  91 .na
  92 \fBset-control\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fB] \fIcontrol\fR \fIvalue\fR
  93 .ad
  94 .sp .6
  95 .RS 4n
  96 Set the control settings for a \fIcontrol\fR of a \fIdevice\fR (or the
  97 default device if not specified) to \fIvalue\fR.  If the \fB-v\fR
  98 option is specified, then more verbose output be displayed.
  99 .RE
 100 
 101 .sp
 102 .ne 2
 103 .na
 104 \fBsave-controls\fR [\fB-f\fR] [\fB-d\fR \fIdevice\fB] \fIfile\fR
 105 .ad
 106 .sp .6
 107 .RS 4n
 108 Save all control settings of the \fIdevice\fR (or the default device if not
 109 specified) to the named \fIfile\fR.  This subcommand will not replace
 110 or modify an existing file unless \fB-f\fR (force) is specified.
 111 .RE
 112 
 113 .sp
 114 .ne 2
 115 .na
 116 \fBload-controls\fR [\fB-d\fR \fIdevice\fB] \fIfile\fR
 117 .ad
 118 .sp .6
 119 .RS 4n
 120 Load previously saved control settings from a \fIfile\fR
 121 into a \fIdevice\fR (or all audio devices if not
 122 specified).
 123 .RE
 124 










 125 .SH ENVIRONMENT VARIABLES
 126 .ne 2
 127 .na
 128 \fB\fBAUDIODEV\fR\fR
 129 .ad
 130 .RS 12n
 131 The full path name of the default audio device to use if one
 132 is not specified on the command line.  If this variable is not set,
 133 \fB/dev/audio\fR is used.
 134 .RE
 135 
 136 
 137 .SH ATTRIBUTES
 138 See \fBattributes\fR(5) for descriptions of the following attributes:
 139 .sp
 140 
 141 .sp
 142 .TS
 143 box;
 144 c | c
 145 l | l .
 146 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 147 _
 148 Interface Stability     See below.
 149 .TE
 150 .LP
 151 The \fBaudioctl\fR command and its subcommands are Committed.  The
 152 names of controls, their values, and device names are Uncommitted.
 153 The display output is intended for human consumption, and is Not An
 154 Interface.  The format of the state files used by the
 155 \fBsave-controls\fR and \fBload-controls\fR subcommands is Committed
 156 Private.
 157 .SH SEE ALSO
 158 \fBaudioplay\fR(1), \fBaudiorecord\fR(1), \fBdsp\fR(7I),
 159 \fBmixer\fR(7I), \fBattributes\fR(5)
   1 '\" t
   2 .\"
   3 .\" This file and its contents are supplied under the terms of the
   4 .\" Common Development and Distribution License ("CDDL"), version 1.0.
   5 .\" You may only use this file in accordance with the terms of version
   6 .\" 1.0 of the CDDL.
   7 .\"
   8 .\" A full copy of the text of the CDDL should have accompanied this
   9 .\" source.  A copy of the CDDL is also available via the Internet at
  10 .\" http://www.illumos.org/license/CDDL.
  11 .\"
  12 .\"
  13 .\" Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  14 .\" Copyright 2020 Peter Tribble.
  15 .\"
  16 .TH AUDIOCTL 1 "Feb 8, 2020"
  17 .SH NAME
  18 audioctl - audio device control command line interface
  19 .SH SYNOPSIS
  20 .nf
  21 \fBaudioctl\fR \fBlist-devices\fR
  22 .fi
  23 
  24 .LP
  25 .nf
  26 \fBaudioctl\fR \fBshow-device\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR]
  27 .fi
  28 
  29 .LP
  30 .nf
  31 \fBaudioctl\fR \fBshow-control\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR] [\fIcontrol\fR ...]
  32 .fi
  33 
  34 .LP
  35 .nf
  36 \fBaudioctl\fR \fBset-control\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR] \fIcontrol\fR \fIvalue\fR
  37 .fi
  38 
  39 .LP
  40 .nf
  41 \fBaudioctl\fR \fBsave-controls\fR [\fB-d\fR \fIdevice\fR] [\fB-f\fR] \fIfile\fR
  42 .fi
  43 
  44 .LP
  45 .nf
  46 \fBaudioctl\fR \fBload-controls\fR [\fB-d\fR \fIdevice\fR] \fIfile\fR
  47 .fi
  48 
  49 .LP
  50 .nf
  51 \fBaudioctl\fR \fBhelp\fR
  52 .fi
  53 
  54 .SH DESCRIPTION
  55 The \fBaudioctl\fP command is used to control various settings and features
  56 of audio devices, including mixer settings such as playback volume and
  57 record gain.
  58 .SH SUBCOMMANDS
  59 The \fBaudioctl\fR command supports the following subcommands.
  60 .sp
  61 .ne 2
  62 .na
  63 \fBlist-devices\fR
  64 .ad
  65 .sp .6
  66 .RS 4n
  67 List all the audio devices on the system.
  68 .RE
  69 
  70 .sp
  71 .ne 2
  72 .na
  73 \fBshow-device\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR]
  74 .ad
  75 .sp .6
  76 .RS 4n
  77 Display an informational overview of \fIdevice\fR (or the default device if
  78 not specified).  If the \fB-v\fR option is specified, then more detail
  79 will be displayed.
  80 .RE
  81 
  82 .sp
  83 .ne 2
  84 .na
  85 \fBshow-control\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR] [\fBcontrol\fR ... ]
  86 .ad
  87 .sp .6
  88 .RS 4n
  89 Display the control settings for one or more \fIcontrols\fR of a
  90 \fIdevice\fR (or the default device if not specified).  If no \fIcontrol\fR is
  91 specified, then the settings for all controls will be displayed. If
  92 the \fB-v\fR option is specified, then more detail will be displayed.
  93 .RE
  94 
  95 .sp
  96 .ne 2
  97 .na
  98 \fBset-control\fR [\fB-v\fR] [\fB-d\fR \fIdevice\fR] \fIcontrol\fR \fIvalue\fR
  99 .ad
 100 .sp .6
 101 .RS 4n
 102 Set the control settings for a \fIcontrol\fR of a \fIdevice\fR (or the
 103 default device if not specified) to \fIvalue\fR.  If the \fB-v\fR
 104 option is specified, then more verbose output be displayed.
 105 .RE
 106 
 107 .sp
 108 .ne 2
 109 .na
 110 \fBsave-controls\fR [\fB-f\fR] [\fB-d\fR \fIdevice\fR] \fIfile\fR
 111 .ad
 112 .sp .6
 113 .RS 4n
 114 Save all control settings of the \fIdevice\fR (or the default device if not
 115 specified) to the named \fIfile\fR.  This subcommand will not replace
 116 or modify an existing file unless \fB-f\fR (force) is specified.
 117 .RE
 118 
 119 .sp
 120 .ne 2
 121 .na
 122 \fBload-controls\fR [\fB-d\fR \fIdevice\fR] \fIfile\fR
 123 .ad
 124 .sp .6
 125 .RS 4n
 126 Load previously saved control settings from a \fIfile\fR
 127 into a \fIdevice\fR (or all audio devices if not
 128 specified).
 129 .RE
 130 
 131 .sp
 132 .ne 2
 133 .na
 134 \fBhelp\fR
 135 .ad
 136 .sp .6
 137 .RS 4n
 138 Display the usage message.
 139 .RE
 140 
 141 .SH ENVIRONMENT VARIABLES
 142 .ne 2
 143 .na
 144 \fB\fBAUDIODEV\fR\fR
 145 .ad
 146 .RS 12n
 147 The full path name of the default audio device to use if one
 148 is not specified on the command line.  If this variable is not set,
 149 \fB/dev/audio\fR is used.
 150 .RE
 151 

 152 .SH ATTRIBUTES













 153 The \fBaudioctl\fR command and its subcommands are Committed.  The
 154 names of controls, their values, and device names are Uncommitted.
 155 The display output is intended for human consumption, and is Not An
 156 Interface.  The format of the state files used by the
 157 \fBsave-controls\fR and \fBload-controls\fR subcommands is Committed
 158 Private.
 159 .SH SEE ALSO
 160 \fBaudioplay\fR(1), \fBaudiorecord\fR(1), \fBdsp\fR(7I),
 161 \fBmixer\fR(7I)