From cd71055f14b70284d8bd3eb35fadc15b36ba0780 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 13 Feb 2012 21:16:59 +0100 Subject: use PulseAudio instead of QAudioDevice --- fmrxproxy.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fmrxproxy.cpp') diff --git a/fmrxproxy.cpp b/fmrxproxy.cpp index 77fcfb1..57956b0 100644 --- a/fmrxproxy.cpp +++ b/fmrxproxy.cpp @@ -126,6 +126,11 @@ DBusHandlerResult FmRxProxy::bus_message_filter(DBusConnection *, } } else if (dbus_message_is_signal(m, BUS_INTERFACE, "Stopped")) { emit self->Stopped(); + } else if (dbus_message_is_signal(m, BUS_INTERFACE, "SignalLevelChanged")) { + quint16 level; + if (dbus_message_get_args(m, NULL, DBUS_TYPE_UINT16, &level, DBUS_TYPE_INVALID)) { + emit self->SignalLevelChanged(level); + } } else if (dbus_message_is_signal(m, BUS_INTERFACE, "PiReceived")) { quint16 pi; if (dbus_message_get_args(m, NULL, DBUS_TYPE_UINT16, &pi, DBUS_TYPE_INVALID)) { -- cgit v1.2.3