I've very pleased to announce that my work on Phonon to integrate support for PulseAudio has now been committed to trunk and will form part of KDE 4.4 \o/
There were a few teething problems due to some last minute merges I did (which I clearly didn't test properly - my bad) and which I then went on to mis-interpret which led me to commit two rather silly things in phonon (a revert and then a revert of that revert!). What can I say... I need more caffeine obviously!
Update: PulseAudio 0.9.21 is now out and has all the necessary fixes to make the below patches unnecessary.
The slightly annoying news is that the support needed for this to work is not yet in a released version of PA. I do however have a simple patch for you here, that distro packagers are welcome to stealliberate from the Mandriva SVN. If you do this, you'll also need to apply this minor patch to phonon:
diff --git a/phonon/CMakeLists.txt b/phonon/CMakeLists.txt index c5ce57a..50a3851 100644 --- a/phonon/CMakeLists.txt +++ b/phonon/CMakeLists.txt @@ -8,7 +8,6 @@ endif (PHONON_BUILD_EXAMPLES) add_subdirectory(experimental) -set(PULSEAUDIO_MINIMUM_VERSION "0.9.21") macro_optional_find_package(PulseAudio) macro_log_feature(PULSEAUDIO_FOUND "PulseAudio" "A cross-platform, networked sound server." "http://www.pulseaudio.org" FALSE "" "Allows audio playback via the PulseAudio soundserver when it is running") macro_optional_find_package(GLIB2)
Just so that it recognises your PA build.
There don't seem to be any specific bugs yet, although I am dealing with something relating to streams going AWOL with Xine, but I'm not sure the problem is in this code. Further testing and feedback is much appreciated. Feel free to report problems to me directly or assign bugs to my kde (at) <this domain> account in b.k.o.