ubuntu:sound:pulseaudio
This is an old revision of the document!
Table of Contents
Ubuntu - Sound - PulseAudio
Get list of Sources
pactl list short sources
returns:
1 alsa_output.pci-0000_0b_00.4.analog-stereo.monitor module-alsa-card.c s16le 2ch 48000Hz IDLE 4 alsa_output.pci-0000_09_00.1.hdmi-stereo-extra1.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
Get list of Sinks
pactl list short sinks
returns:
1 alsa_output.pci-0000_0b_00.4.analog-stereo module-alsa-card.c s16le 2ch 48000Hz RUNNING 3 alsa_output.pci-0000_09_00.1.hdmi-stereo-extra1 module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
Set Defaults
pactl set-default-source alsa_output.pci-0000_0b_00.4.analog-stereo pactl set-default-sink alsa_output.pci-0000_0b_00.4.analog-stereo
References
man pactl
ubuntu/sound/pulseaudio.1607861279.txt.gz · Last modified: 2020/12/13 12:07 by peter