Remove package pulseaudio-alsa, which provides compatibility layer between ALSA applications and PulseAudio.The following steps allow you to make PulseAudio use dmix instead of grabbing ALSA hardware device. You may want to use ALSA directly in most of your applications and to be able to use other applications, which constantly require PulseAudio at the same time. Note: This section describes alternative configuration, which is generally not recommended. If it is currently loaded ( lsmod | grep oss), disable it by executing:Ĥ.1.1 ALSA/dmix without grabbing hardware device To prevent applications from using ALSA's OSS emulation and bypassing PulseAudio (thereby preventing other applications from playing sound), make sure the module snd_pcm_oss is not being loaded at boot.
Pulseaudio default device install#
This package contains the necessary /etc/nf for configuring ALSA to use PulseAudio.Īlso install lib32-libpulse and lib32-alsa-plugins if you run a x86_64 system and want to have sound for 32-bit multilib programs like Wine, Skype and Steam. Install pulseaudio-alsa from the official repositories. If you are not running GNOME, KDE, or Xfce, and your ~/.xinitrc does not source the scripts in /etc/X11/xinit/xinitrc.d (such as is done in the example file /etc/skel/.xinitrc), then you can launch PulseAudio on boot with: If PulseAudio is not running and users are using X, the following will start PulseAudio with the needed the X11 plugins manually: Note: As mentioned previously, PulseAudio is very likely launched automatically via either /etc/X11/xinit/xinitrc.d/pulseaudio or the files in /etc/xdg/autostart/ if users have some DE installed. Optional KDE plasma applet: kdemultimedia-kmix (If KMixfail to connect to PulseAudio at boot you may need to edit /etc/pulse/nf to include autospawn = yes instead of autospawn = no.).Optional web volume control: PaWebControl.Optional GTK GUIs: paprefs and pavucontrol.5.3 Load equalizer and dbus module on every boot.5.1 Load equalizer sink and dbus-protocol module.4.1.1 ALSA/dmix without grabbing hardware device.3.1 Autostarting in unsupported desktop environments.