amixer

语法

amixer [-ccard] [command]

描述

Command-line ALSA mixer. For an ncurses interface, use alsamixer. amixer displays or changes the current mixer settings for the current sound card and sound device. To display all mixer settings, use with no flags or commands.

命令

controls

  Displays a complete list of card controls. These controls can be set with the cset command, 
  in contrast to simple mixer controls, which use set or sset.

contents

  List card controls and their contents.

cget [control]

  Display the contents of the specified card control.

cset [control] [parameter]

  Set the card control to the value specified in the parameter. Card controls may be identified by iface, 
  name, index, device, subdevice, or numid. The parameter will normally be a number or percentage value. 
  For example, the command amixer -c 1 cset numid=16 50% will set the 16th element of the first sound card to 50%.

get,sget [control]

  Display the current values for the specified control.

help

  Display help message and quit.

info

  Displays information about the card specified with the -c flag.

scontrols

  Display a list of simple mixer controls. Simple mixer controls can be set with the set or sset commands, 
  in contrast to card controls, which use the cset command.

set,sset [control] [parameter]

  Set one of the controls listed by scontrols. You can specify the volume with a percentage from 0% to 100%,
   or a specific hardware value. By appending + or - to the number, you will increase or decrease the 
   volume by that amount. To set recording and muting values, use the parameters cap (meaning capture, 
   or record), nocap,mute,unmute, or toggle. To specify individual channels, use the parameters front, 
   rear, center, or woofer. For example, the command amixer -c 1 sset Line,
   0 100% unmute will set Line 0 on the first sound card to 100% and unmute it.

参数

-c n

  The number of the card to adjust.

-D devicename

  Specify the name of the device. By default, the name is default.

-h

  Display help information and quit.

-q

  Quiet mode: do not show the results of changes made.
shells/commands/amixer.txt · 最后更改: 2011/10/19 14:37 由 Leon
[unknown link type]到顶部
GNU Free Documentation License 1.3
京ICP备05034962号 Debian Driven by DokuWiki get firefox browser Recent changes RSS feed Valid XHTML 1.0