meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:pulse_audio [2015/09/07 09:11] – niziak | linux:pulse_audio [2023/02/10 11:33] (current) – niziak | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| sudo apt-get install paprefs pavucontrol | sudo apt-get install paprefs pavucontrol | ||
| </ | </ | ||
| + | <code bash> | ||
| + | < | ||
| - | killall pulseaudio | + | <code bash> | 
| - | pulseudio -v | + | |
| pacmd list-sinks | pacmd list-sinks | ||
| pacmd list-cards | pacmd list-cards | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ====== disable autospawn ====== | ||
| + | |||
| + | <file | / | ||
| + | ; autospawn = yes | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | pulseaudio --kill | ||
| + | pulseaudio -v | ||
| + | </ | ||
| + | |||
| + | ===== mpd player ===== | ||
| + |   * add user '' | ||
| + | * Configure pulse to connect to existing pulseaudio server using network | ||
| + | |||
| + | < | ||
| + | audio_output { | ||
| + |         type                    " | ||
| + |         name                    "MPD PulseAudio Output" | ||
| + |         server  | ||
| + | } | ||
| + | </ | ||
| + | * Add TCP server module to pulseaudio | ||
| + | <file | / | ||
| + | load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== 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:// | ||
| + | |||
| + | 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 " | ||
| + | This will add new device for both HDMI and Analog output and set it as default one. | ||
| + | |||
| + | ===== No sound ===== | ||
| + | As as normal user try to start <code bash> | ||
| + | < | ||
| + | E: [pulseaudio] core-util.c: | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | ls -l / | ||
| + | </ | ||
| + | shows that pulse dir is owned by root (Probably pusleaudio was spawned when user switch to root using su or sudo) | ||
| + | < | ||
| + | |||
| Line 99: | Line 157: | ||
| pulseaudio -v | pulseaudio -v | ||
| </ | </ | ||
| + | |||
| + | load-module module-alsa-sink device=hdmi: | ||
| + | load-module module-combine-sink sink_name=combined | ||
| + | set-default-sink combined | ||