1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ubuntu オーディオ出力先固定

Last updated at Posted at 2021-07-05

出力デバイスの一覧表示

$ pactl list short sources
1	alsa_output.pci-0000_00_1f.3.analog-stereo.monitor	module-alsa-card.c	s16le 2ch 44100Hz	IDLE
...

上記のように出力される
そして
/etc/pulse/default.paを編集する

…
### Should be after module-*-restore but before module-*-detect
- load-module module-switch-on-port-available モジュールが検出できなければ復元しない…っぽい、これを止めないと、、、

### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794)
- .ifexists module-switch-on-connect.so
- load-module module-switch-on-connect BluetoothとかUSBがつながったら自動で切り替えるのを止める。
- .endif
…
### Make some devices default
- set-default-sink output
- set-default-source input
+ set-default-source <デバイス名>.monitor
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?