At Tue, 24 Feb 2009 16:17:25 +0100, Cristian Morales Vega wrote:
2009/2/24 Takashi Iwai <tiwai@suse.de>:
At Tue, 24 Feb 2009 10:39:01 +0100, Cristian Morales Vega wrote:
2009/2/24 Takashi Iwai <tiwai@suse.de>:
On non-GNOME setup (not sure about KDE4, though), the "default" is the alsa-lib dmix. In most cases, it's exclusive with PA unless PA uses the dmix again. Thus, skype works, but only when you don't play something via PA.
I uninstalled PA little after installing 11.1, so I can easily be wrong. But I think that, since 11.1, PA is enabled* always (on 11.0 was only enabled with Gnome).
(snip)
* when I say "enabled" I mean alsa-lib pulse plugin is used by default.
It's not "enabled". Installing it alone doesn't change any default behavior. On GNOME, there is a special set up to override the default PCM with pulse plugin, so all apps are routed over PA. Without that, you'll have to specify explicitly "pluse" PCM to use the pulse routing from alsa-lib.
Takashi
Ok, I just got home and tested in my machine and you are correct. So, just to understand this better... - Package alsa-plugins-pulse includes file /etc/asound-pulse.conf that makes pulse the default. This file is read/used... by some magic in some gnome package? It is documented somewhere? Just curiosity.
Heh, don't expect that everything is documented :) It's done in /usr/bin/gnome.
- KDE4 Multimedia preferences says it uses "x-phonon" device by default (and "plughw" like fallback)... what is this magic "x-phonon" device???? - kde4-kmail and kde4-kaddressbook don't depend on pulse like was commented here. Package kdebase4-runtime depends on libpulse.so.0 (provided by packafe libpulse0), and mail and addressbook depend on runtime. That's because of /usr/lib/kde4/kded_phononserver.so... kde.org seems down right now, but from the file name and the fact that "Multimedia" preferences from KDE4 allow to select PulseAudio directly it seems that Phonon implements both an ALSA and PulseAudio backend. Since upstream decided to implement the PulseAudio backend I don't see a good cause to don't compile it. There are also other packages with the same "problem" (MPlayer to start with). Yes, they could dlopen libpulse... I'm sure upstream will like the patches. But we are talking about just 378KB...
No big clue about KDE4, so leave KDE guys answer...
In the *worst* scenario. If Gnome has such a hard dep with PA, can't it be configured to use dmix? With this, plus making ALSA "default" the real "default", Gnome could still have his sound server and it would not interfere with other apps.
A good question. I myself feel also that the current GNOME implementation is too tightly coupled with a single backend, too. If it's about gstreamer, then it should be possible to use ALSA backend (sink/source), though... Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org