User Tools

Site Tools


ubuntu:sound:pulseaudio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:sound:pulseaudio [2020/12/13 12:02] peterubuntu:sound:pulseaudio [2020/12/13 12:09] (current) peter
Line 1: Line 1:
 ====== Ubuntu - Sound - PulseAudio ====== ====== Ubuntu - Sound - PulseAudio ======
  
-Set default sound output card dynamically using PulseAudio.+[[Ubuntu:Sound:PulseAudio:Set default sound output card|Set default sound output card]]
  
----- +[[Ubuntu:Sound:PulseAudio:Set Port of Sound Card|Set Port of Sound Card]]
- +
-===== Get list of Sources ===== +
- +
-<code bash> +
-pactl list short sources +
-</code> +
- +
-returns: +
- +
-<code bash> +
-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 +
-</code> +
- +
----- +
- +
-===== Get list of Sinks ===== +
- +
-<code bash> +
-pactl list short sinks +
-</code> +
- +
-returns: +
- +
-<code bash> +
-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 +
-</code> +
- +
----- +
- +
----- +
- +
-===== Set Defaults ===== +
- +
-<code bash> +
-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 +
-</code>+
  
  
ubuntu/sound/pulseaudio.1607860954.txt.gz · Last modified: 2020/12/13 12:02 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki