[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:multimedia:pulseaudio [2015/11/22 14:37 (UTC)] – [Installation on a x86_64 multilib system] fix typo gerardo.zamudiohowtos:multimedia:pulseaudio [2016/04/08 07:06 (UTC)] (current) – [PulseAudio mixers] fix typo bormant
Line 34: Line 34:
 First, install 64bit package of PulseAudio as described above. First, install 64bit package of PulseAudio as described above.
  
-Second, you need to compile 32bit package. Unfortunately, you can't use sbotools to do that for you because of a few errors that require you to edit SlackBuild for PA. You can compile speex and json-c as compat32 packages without any problem, but PulseAudio for some reason doesn't want to compile with 32bit version of libxcb and libcap, so, if it fails to compile as is, you'll need to edit SlackBuild to add ''%%--%%disable-x11 %%--%%without-cap'' for it to build successfully. It doesn't matter here, because all we are after is 32bit libpulse. Next, for some reason even after importing 32dev.sh PA still tries to use some 64bit libraries. So you'll need to start SlackBuild like this:+Second, you need to compile 32bit package. Unfortunately, you can't use sbotools to do that for you because of a few errors that require you to edit SlackBuild for PA. You can compile speex and json-c as compat32 packages without any problem, but PulseAudio for some reason doesn't want to compile with 32bit version of libxcb and libcap, so, if it fails to compile as is, you'll need to edit SlackBuild to add ''%%--%%disable-x11 %%--%%without-caps'' for it to build successfully. Sometimes you need to disable more options, inspect the output in case compilation fails. It doesn't matter here, because all we are after is 32bit libpulse. Next, for some reason even after importing 32dev.sh PA still tries to use some 64bit libraries. So you'll need to start SlackBuild like this:
  
     PKG_CONFIG_PATH=/usr/lib/pkgconfig PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig LDFLAGS="-L/usr/lib" ./pulseaudio.SlackBuild     PKG_CONFIG_PATH=/usr/lib/pkgconfig PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig LDFLAGS="-L/usr/lib" ./pulseaudio.SlackBuild
  
-This will force PA to use the correct libraries and allow it to compile. Make compat32 package and install it. You don't need 32bit alsa-plugins or pavucontrol. +This will force PA to use the correct libraries and allow it to compile. Make compat32 package and install it. You don't need 32bit pavucontrol. 32bit alsa-plugins is needed only for 32bit applications, usually wine, to work properly.
  
 ===== Using PulseAudio ===== ===== Using PulseAudio =====
Line 115: Line 114:
     pactl set-sink-volume 0 +5% #raise the main sink's volume by 5%     pactl set-sink-volume 0 +5% #raise the main sink's volume by 5%
     pactl -- set-sink-volume 0 -5% #lower the main sink's volume by 5%; notice the "--"     pactl -- set-sink-volume 0 -5% #lower the main sink's volume by 5%; notice the "--"
-    pactl sit-sink-mute 0 toggle #mute/unmute the main sink+    pactl set-sink-mute 0 toggle #mute/unmute the main sink
  
 For more commands and options see ''man pactl''. For more commands and options see ''man pactl''.
 howtos:multimedia:pulseaudio ()