最終更新:2024-11-07 (木) 13:12:32 (30d)  

alsactl
Top / alsactl

サウンドカードの設定・管理

advanced controls for ALSA soundcard driver

コマンド

help

  • Usage: alsactl <options> command
    
    global options:
      -h,--help        this help
      -d,--debug       debug mode
      -v,--version     print version of this program
    
    Available state options:
      -f,--file #      configuration file (default /var/lib/alsa/asound.state)
      -l,--lock        use file locking to serialize concurrent access
      -L,--no-lock     do not use file locking to serialize concurrent access
      -O,--lock-state-file #  state lock file path (default /var/lock/asound.state.lock)
      -F,--force       try to restore the matching controls as much as possible
                         (default mode)
      -g,--ignore      ignore 'No soundcards found' error
      -P,--pedantic    do not restore mismatching controls (old default)
      -I,--no-init-fallback  
                       don't initialize even if restore fails
      -r,--runstate #  save restore and init state to this file (only errors)
                         default settings is 'no file set'
      -R,--remove      remove runstate file at first, otherwise append errors
      -p,--period #    store period in seconds for the daemon command
      -e,--pid-file #  pathname for the process id (daemon mode)
    
    Available init options:
      -E,--env #=#     set environment variable for init phase (NAME=VALUE)
      -i,--initfile #  main configuration file for init phase
                         (default /usr/share/alsa/init/00main)
      -b,--background  run daemon in background
      -s,--syslog      use syslog for messages
      -n,--nice #      set the process priority (see 'man nice')
      -c,--sched-idle  set the process scheduling policy to idle (SCHED_IDLE)
      -D,--ucm-defaults  execute also the UCM 'defaults' section
    
    Available commands:
      store     <card>  save current driver setup for one or each soundcards
                          to configuration file
      restore   <card>  load current driver setup for one or each soundcards
                         from configuration file
      nrestore  <card>  like restore, but notify the daemon to rescan soundcards
      init      <card>  initialize driver to a default state
      daemon    <card>  store state periodically for one or each soundcards
      rdaemon   <card>  like daemon but do the state restore at first
      kill      <cmd>   notify daemon to quit, rescan or save_and_quit
      monitor   <card>  monitor control events