Changes

PulseAudio

3,011 bytes added, 25 January
The following lines were added (+) and removed (-):
PulseAudio, previously known as Polypaudio, is a sound server for POSIX and WIN32 systems. It is a drop in replacement for the ESD sound server with much better latency, mixing/re-sampling quality and overall architecture.PulseAudio, previously known as Polypaudio, is a sound server for POSIX and WIN32 systems. It is a drop in replacement for the ESD sound server with much better latency, mixing/re-sampling quality and overall architecture.  PulseAudio / Pulse Audio is a sound manager for [[ALSA]] on Linux, ALSA being the Advanced Linux Sound Architecture.{{:Template:Untidy Entry}} == Distribution Specific ===== Tips and Tricks ===== Tips and Tricks ==[https://wiki.archlinux.org/index.php/PulseAudio/Examples PulseAudio allows for simultaneous output to multiple sources.]Updated: The easiest way to accomplish this on modern Ubuntu/Mint (at least 18.3 and up) is to use a utility called paprefs aka PulseAudio Preferences.=== Troubleshoot ===[[Image:paprefsbridge.png]]<BR>''Illustration shows the paprefs interface, launched from console by typing: "paprefs" and the correct selection.''----[[Image:pulseaudiosimsel.png]]<BR>''Illustration shows the Pulse Audio Volume Control Output Devices Tab with "Set as fallback" checked for "Simultaneous output to..." checked so programs send sound on all bridged devices.'' older information:* [https://wiki.archlinux.org/index.php/PulseAudio/Examples PulseAudio allows for simultaneous output to multiple sources.] === How to stop and start the Pulse Audio Service ===With systemd PulseAudio is controlled by systemctl and if you kill PulseAudio it will be restarted automatically by systemctl.  To suspend the service, stopping PulseAudio do: systemctl --user stop pulseaudio.socket systemctl --user stop pulseaudio.service To start it again, you can use: systemctl --user start pulseaudio.socket systemctl --user start pulseaudio.service Is PulseAudio running? ps ax|grep -i pulseIf yes  40871 ?        S<sl  0:01 /usr/bin/pulseaudio --daemonize=no --log-target=journal  40874 ?        Sl    0:00 /usr/libexec/pulse/gsettings-helper === Temporarily suspend PulseAudio ===pasuspender is a tool that can be used to tell a local PulseAudio sound server to temporarily suspend access to the audio devices, to allow other applications access them directly. pasuspender will suspend access to the audio devices, fork a child process, and when the child process terminates, resume access again.  Example environment without PulseAudio without stopping the service pasuspender bashHere is an example where a game is launched with PulseAudio suspended pasuspender ./PULSAR_LostColony.x86_64 === pulseaudio-equalizer ===Your distribution may or may not have pulseaudio-equalizer as part of the main repository.  sudo apt install pulseaudio-equalizerLaunch the mixer with qpaeqFor qpaeq to work you have to have the modules module-equalizer-sink and module-dbus-protocol set to load in the /etc/pulse/default.pa file sudo vi /etc/pulse/default.paadd load-module module-equalizer-sink load-module module-dbus-protocolFor more information on pulseaudio-equalizer visit [https://livingthelinuxlifestyle.wordpress.com/2018/08/13/how-to-install-pulseaudio-equalizer-in-ubuntu-and-linux-mint/ How to Install PulseAudio-Equalizer in Ubuntu and Linux Mint] == Troubleshoot =====Test Sound Utility: Stereo Separation Test==={{:Speaker-test_stereo_separation_test_with_ALSA}}PulseAudio does not get along well with KDE===Testing audio input / microphone input from CLI==={{:Arecord_alsa_audio_input_testing}}===PulseAudio does not get along well with KDE===esdcompat: esdcompat is a compatiblity script that takes the same arguments as the ESD sound daemon esd(1), but uses them to start a the PulseAudio sound server with the appropriate parametersesdcompat: esdcompat is a compatibility script that takes the same arguments as the ESD sound daemon esd(1), but uses them to start a the PulseAudio sound server with the appropriate parametersTry this: (THIS WORKED) A viable work around to get rid of pulseaudio piece o crapTry this: (THIS WORKED) A viable work around to get rid of pulseaudio.,=== Troubleshoot: Microphone detected but can't change volume in Mint Linux ====== Microphone detected but can't change volume in Mint Linux ====== Troubleshoot: Controlling Pulse Audio from CLI ====== Controlling Pulse Audio from CLI ===* ''the pulseaudio --check reports nothing even when the service is stopped. this does not seem to do a damn thing.''the following will start pulse audio, however, you should use systemctl instead if you are ubuntu/mint. See above on starting and stopping pulseaudio with systemctl. {{:Template:Untidy Entry}} [[Category:Linux_Sound]]
Administrator
652
edits