Warning: THE VOID WIKI IS DEPRECATED. It is no longer being maintained, contains outdated and incorrect information, and will eventually be shut down. Please refer to the Void Handbook, https://docs.voidlinux.org/, for the official documentation. If you can't find the information you're seeking, please raise an issue at https://github.com/void-linux/void-docs/issues

Difference between revisions of "PulseAudio"

From Void Linux Wiki
Jump to navigation Jump to search
(Briefly mention what pulseaudio is, and its major features)
m (Duncaen moved page PulseAudio - to PulseAudio without leaving a redirect)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{expand|An introduction is required explaining exactly why one would want/need to follow the instructions in this page.}}
+
As this wiki is deprecated, and will soon disappear, please refer to [https://docs.voidlinux.org/config/media/pulseaudio.html the "PulseAudio" section of the Void Handbook].
{{Related articles start}}
 
{{Related|Audio}}
 
{{Related articles end}}
 
 
 
PulseAudio is a general purpose userspace sound server that provides a number of additional features on top of ALSA, such as:
 
*Network audio streaming
 
*Per-application volume controls
 
*Use of plugins with support for loadable modules
 
 
 
==Installation==
 
 
 
[[Install]] {{pkg|alsa-utils}}, {{pkg|pulseaudio}} and {{pkg|ConsoleKit2}} if you want to continue with the [[#Recommended setup|recommended setup]] below.
 
 
 
# xbps-install -S alsa-utils pulseaudio ConsoleKit2
 
 
 
Make sure your {{wp|Advanced Linux Sound Architecture|alsa}} output device is not muted and then enable the alsa [[runit]] service to save and restore alsa levels and configuration between reboots:
 
 
 
# ln -s /etc/sv/alsa /var/service/
 
 
 
===Recommended setup===
 
 
 
In this setup PulseAudio needs {{pkg|dbus}} and {{pkg|ConsoleKit2}} to change access permissions to the audio device; therefore, you don't need the audio group. For more info take a look at Ubuntu's Wiki page about [https://wiki.ubuntu.com/Audio/TheAudioGroup TheAudioGroup].
 
 
 
Enable the required [[runit]] services:
 
 
 
# ln -s /etc/sv/dbus /var/service/
 
# ln -s /etc/sv/cgmanager /var/service/
 
# ln -s /etc/sv/consolekit /var/service/
 
 
 
In some cases you have to add <code>start-pulseaudio-x11 &</code> to your <code>.xinitrc</code> file.
 
 
 
===System wide setup===
 
 
 
PulseAudio supports a system wide daemon that can be used with Void Linux. However, for security and performance reasons '''the system wide setup should be avoided in most common cases'''. More information why you should not use the system wide mode is available in the [http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ PulseAudio documentation].
 
 
 
Enable the pulseaudio service:
 
 
 
# ln -s /etc/sv/pulseaudio /var/service/
 
 
 
Add all users that should have access to PulseAudio to the <code>pulse-access</code> group:
 
 
 
# usermod -a -G pulse-access $USER
 
 
 
'''Be sure''' to check out the PulseAudio documentation regarding [http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/ system wide setup].
 
 
 
== External links ==
 
 
 
* freedesktop.org - [http://www.freedesktop.org/wiki/Software/PulseAudio/ PulseAudio documentation]
 
 
 
[[Category:Audio]]
 

Latest revision as of 14:35, 13 June 2020

As this wiki is deprecated, and will soon disappear, please refer to the "PulseAudio" section of the Void Handbook.