Linux tips: Set default sound card using Pulse Audio
Linux tips: Set default sound card using Pulse Audio
1) Check list of Sources:-
# pactl list short sources
2 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor module-alsa-card.c s16le 2ch 48000Hz RUNNING
3 alsa_input.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
// Set default source
# pactl set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo
2) Check list of Inputs:-
# pactl list short sinks
2 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 48000Hz IDLE
// Set default input/sink
# pactl set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
==================================================
Or use this method (Tested working on Linux Mint 20.1):
a) Run the following (on working & active (Pulse Audio configuration) profile)
# pacmd list-cards
index: 1
name: <alsa_card.pci-0000_00_1b.0>
active profile: <output:analog-stereo+input:analog-stereo>
b) Test the command:-
// If the following command set the profile & output correctly,
// just check the pulseaudio volume control's configuration portion,
// proceed to part c).
# pactl set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo
c) Add to /etc/pulse/default.pa (at the bottom):-
set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo
d) Reboot
Comments
Post a Comment