Configure pulseaudio output via command line
Changing the currently active audio output
List available audio devices
First, list all the available output devices like so:
pacmd list-cards
Or similarly:
pactl list cards
Card Index
Index of the card is found in the first couple lines:
$ pacmd list-cards Welcome to PulseAudio! Use "help" for usage information. >>> 1 …