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
# xbps-install -S alsa-utils pulseaudio ConsoleKit2
# ln -s /etc/sv/alsa /var/service/
In this setup PulseAudio needs dbus and 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 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
start-pulseaudio-x11 & to your
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 PulseAudio documentation.
Enable the pulseaudio service:
# ln -s /etc/sv/pulseaudio /var/service/
Add all users that should have access to PulseAudio to the
# usermod -a -G pulse-access $USER
Be sure to check out the PulseAudio documentation regarding system wide setup.
Without a session manager
It is possible to run PulseAudio without a session manager by adding your user to the
audio group. Depending on your installation, you might have to disable the console-kit module in the PulseAudio config file by commenting out the following lines in /etc/pulse/default.pa
### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. #.ifexists module-console-kit.so #load-module module-console-kit #.endif
- freedesktop.org - PulseAudio documentation