最終更新:2022-11-10 (木) 00:14:23 (548d)  

ALSA/設定
Top / ALSA / 設定

https://www.alsa-project.org/wiki/Asoundrc

設定ファイル

Linux/usr/share/alsa

個別の設定ファイル

  • Linux/etc/alsa/conf.d
  • Linux/etc/asound.conf?:システムの設定ファイル (Ubuntu標準だと存在しない)
  • Linux/~/.asoundrc?:ユーザー別の設定ファイル (Ubuntu標準だと存在しない)

etc

  • pcm.!default {
            type hw # Kernel PCM
            card 0
    }
    
    ctl.!default {
            type hw           
            card 0
    }

default

  • The keyword default is defined in the ALSA lib API and will always access hw:0,0?

!default?

  • Specifying the !default name supersedes the one defined in the ALSA lib API.

Ubuntu

pcm?

  • 音声の再生で使われるカード・デバイス

ctl?

  • alsamixerなどのコントロールユーティリティで使われるカード

Ubuntu/パッケージ

alsa-base

alsa-utils

libasound2-data

PulseAudio

  • pulseaudioを入れると下記のファイルが設置されてデフォルトのデバイスがpulseaudioになる