[kde-linux] Phonon + non-native KDE apps

Tanja Petri mail at tanjapetri.de
Thu Dec 11 13:36:42 UTC 2008


On Thursday 11 December 2008 11:34:36 Beso wrote:
> 2008/12/11 Tanja Petri <mail at tanjapetri.de>:
> > [...]
> > Is there a way non-native KDE application can use Phonon?
> >
> > My main Problem here is Skype, and that mainly since I upgraded to Amarok
> > 2 yesterday. I used to run Skype via artsdsp on KDE 3.5. I have searched
> > the web for a similar way to do that with Phonon, but didn't come up with
> > anything :(
> >[...]
>
> apps not specifically designed to use phonon cannot use it. usually
> applications that
> require the sound device implement a way to request it and lock the
> device. to be able
> to have this apps not lock the board you should compile your alsa/oss
> with pulseaudio
> sound server and reinstall the phonon pacakge with pulseaudio support. this
> way pulseaudio handles both the phonon apps and the old non phonon apps. to
> have an old app that doesn't use phonon to use phonon you have to modify
> the source code of that app and have it use phonon. the docs available on
> line are for helping devs
> do this transition. so proprietary apps that don't give source code
> need to be used
> via a sound server like pulseaudio.

Ok, thanks, that's at least an explanation I can understand. So basically 
Phonon sends sound to xine, and xine sends it to the soundcard or Pulseaudio, 
right?

I installed Pulseaudio, and it works with all non-KDE4 applications. But I 
can't figure out how to get KDE sound to pulseaudio.
I found the xine section on this guide:
http://www.pulseaudio.org/wiki/PerfectSetup
and edited the ~/.xine/config file accordingly. I tested the setup with xine-ui 
and kaffeine , and I re-installed amarok 1.4 which uses xine directly - 
everything works. So it can't be the xine engine.

> reinstall the phonon pacakge with pulseaudio support

How would I do that in Ubuntu? I tried "Reinstall" from Synaptic, which had no 
effect. Or is there a package I might be missing?



More information about the kde-linux mailing list