meta data for this page
  •  

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
Last revisionBoth sides next revision
linux:pulse_audio [2015/11/07 15:49] niziaklinux:pulse_audio [2018/08/21 12:12] niziak
Line 11: Line 11:
 pacmd list-cards pacmd list-cards
 </code> </code>
 +
 +
 +
 +====== disable autospawn ======
 +
 +<file | /etc/pulse/client.conf>
 +; autospawn = yes
 +</file>
 +
 +<code bash>
 +pulseaudio --kill
 +pulseaudio -v
 +</code>
 +
 +===== mpd player =====
 +  * add user ''mpd'' to ''pulse-access'' groups.
 +  * Configure pulse to connect to existing pulseaudio server using network
 +
 +<code>
 +audio_output {
 +        type                    "pulse"
 +        name                    "MPD PulseAudio Output"
 +        server                  "127.0.0.1"
 +}
 +</code>
 +  * Add TCP server module to pulseaudio
 +<file | /etc/pulse/default.pa>
 +load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
 +</file>
 +
 +
 +===== no alsa MIC input =====
 +
 +Check for existence of arecord process. It can be used to sample noise and feed a kernel entropy (package **randomsound**)
 +
 +[[https://bugs.launchpad.net/ubuntu/+source/randomsound/+bug/590780]]
 +
 +randomsound has to be started AFTER pulse audio. It is hard to achieve because pulse is started as from user graphical session.
 +As workaround it is nice to disable or remove rendomsound package.
 +
 +
 +===== Simultaneous on HDMI and Analog =====
 +Run paprefs, go to last tab "Simultaneous Output" and enable feature.
 +This will add new device for both HDMI and Analog output and set it as default one.
  
 ===== No sound ===== ===== No sound =====
Line 113: Line 157:
 pulseaudio -v pulseaudio -v
 </code> </code>
 +
 +load-module module-alsa-sink device=hdmi:0
 +load-module module-combine-sink sink_name=combined
 +set-default-sink combined
 +