最終更新:2022-11-10 (木) 00:14:23 (548d)
ALSA/設定
https://www.alsa-project.org/wiki/Asoundrc
設定ファイル
Linux/usr/share/alsa
- Linux/usr/share/alsa/alsa.conf - 基本となる設定ファイル
- 下記の個別の設定ファイルを読み込んでいる
個別の設定ファイル
- 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
- Linux/etc/alsaは空
- Linux/etc/alsa/conf.dにファイルが入っている
pcm?
- 音声の再生で使われるカード・デバイス
ctl?
- alsamixerなどのコントロールユーティリティで使われるカード
Ubuntu/パッケージ
alsa-base
alsa-utils
libasound2-data
PulseAudio
- pulseaudioを入れると下記のファイルが設置されてデフォルトのデバイスがpulseaudioになる