Hi,

I was getting messages in my .xsession-errors.

kmixctrl(2487)/kmix Mixer_PULSE::Mixer_PULSE: Disabling PulseAudio integration for lack of GLib event loop.

It turns out on my system the className being used (kde 4.7.4) is "QEventDispatcherGlib" not "QGuiEventDispatcherGlib".

I patched the detection code to work with any className containing "Glib". It works fine on my systems.

--- ./kmix/backends/mixer_pulse.cpp.orig 2011-12-01 16:56:21.000000000 -0700
+++ ./kmix/backends/mixer_pulse.cpp    2011-12-28 15:47:32.333150968 -0700
@@ -877,9 +877,10 @@ Mixer_PULSE::Mixer_PULSE(Mixer *mixer, i
         s_pulseActive = INACTIVE;

     // We require a glib event loop
- if (QLatin1String(QAbstractEventDispatcher::instance()->metaObject()->className())
-            != "QGuiEventDispatcherGlib") {
- kDebug(67100) << "Disabling PulseAudio integration for lack of GLib event loop."; + QString dispatcherName(QLatin1String(QAbstractEventDispatcher::instance()->metaObject()->className()));
+    if (dispatcherName.indexOf("Glib") == -1) {
+ kDebug(67100) << "Disabling PulseAudio integration for lack of GLib event loop."
+                " current dispatcher: " << dispatcherName;
         s_pulseActive = INACTIVE;
     }



Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to