Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howtos:multimedia:pulseaudio_non-default [2016/03/21 01:13 (UTC)] lonestar [mpg123] |
howtos:multimedia:pulseaudio_non-default [2016/05/02 22:34 (UTC)] linuxrocks123 take out tip since cmake handles it in the better fake pulseaudio |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | + | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> |
- | ====== | + | ====== |
With the release of the first beta of what will be version 14.2, PulseAudio has been introduced as default audio server in Slackware Linux. | With the release of the first beta of what will be version 14.2, PulseAudio has been introduced as default audio server in Slackware Linux. | ||
Line 21: | Line 21: | ||
Before this moment, there was no technical need for introducing PulseAudio as a basic component of the distribution, | Before this moment, there was no technical need for introducing PulseAudio as a basic component of the distribution, | ||
- | ====== | + | |
+ | ====== | ||
+ | |||
+ | It should be noted that, as PulseAudio is now a basic system component, with many applications directly linked to it, the following procedure for removing PulseAudio is unsupported. It did work for me, though. | ||
+ | |||
+ | In order to remove PulseAudio from your system completely, follow these steps: | ||
+ | |||
+ | < | ||
+ | su | ||
+ | mv / | ||
+ | removepkg pulseaudio | ||
+ | </ | ||
+ | |||
+ | However, after you do this, you will find many applications (mplayer etc) no longer work, because they are linked to libpulse.so.0. | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
+ | cd apulse | ||
+ | mkdir build | ||
+ | cd build | ||
+ | cmake -DCMAKE_INSTALL_PREFIX=/ | ||
+ | make | ||
+ | su | ||
+ | mv libpulse* /usr/lib64 #or /usr/lib if you are on a 32-bit machine | ||
+ | </ | ||
+ | |||
+ | Now your pulseaudio-linked programs will find a fake libpulse.so.0 that nevertheless provides all the symbols they expect and everything that can use ALSA will use ALSA just like it used to. Additionally, | ||
+ | |||
+ | ====== | ||
PulseAudio has become the default audio manager in the distribution, | PulseAudio has become the default audio manager in the distribution, | ||
Line 70: | Line 99: | ||
remove or rename the file ''/ | remove or rename the file ''/ | ||
- | Create a script ''/ | + | Create a script ''/ |
<code bash># | <code bash># | ||
if [ " | if [ " | ||
Line 104: | Line 133: | ||
<code cmake> | <code cmake> | ||
[...] | [...] | ||
- | -DWITH_PulseAudio=BOOL: | + | -DWITH_PulseAudio=FALSE \ |
- | -DPHONON_PULSESUPPORT=FALSE \ | + | -DPHONON_PULSESUPPORT=OFF \ |
[...]</ | [...]</ | ||
Line 134: | Line 163: | ||
Here is an evolving list of common software and required actions: | Here is an evolving list of common software and required actions: | ||
+ | |||
==== mpg123 ==== | ==== mpg123 ==== | ||
+ | |||
This software has been compiled for using Pulseaudio as default output but you can change this by simply adding an option on command-line: | This software has been compiled for using Pulseaudio as default output but you can change this by simply adding an option on command-line: | ||
+ | |||
=== Clementine === | === Clementine === | ||
+ | |||
Clementine audio player requires being compiled with the following cmake options: | Clementine audio player requires being compiled with the following cmake options: | ||
<code cmake> | <code cmake> | ||
Line 143: | Line 176: | ||
[...]</ | [...]</ | ||
+ | === Audacious === | ||
+ | |||
+ | Also Audacious can be configured to use ALSA even if it's been compiled with PA support. | ||
+ | |||
+ | In Settings-> | ||
====== Sources ====== | ====== Sources ====== |