dbus: Rework the main loop
authorMirsal Ennaime <mirsal.ennaime@gmail.com>
Wed, 21 Jul 2010 07:51:06 +0000 (09:51 +0200)
committerMirsal Ennaime <mirsal@mirsal.fr>
Sat, 19 Feb 2011 15:50:16 +0000 (16:50 +0100)
commitce09c643a01676ad0f6a2022da0aefdab9960b9e
tree5e3e449db2ce004ae815f2a20df60f2912397832
parent2023e0bb97c93c67ba1e7be4b2b705d1bd731aa3
dbus: Rework the main loop

 * use a poll() based model instead of msleep()
 * Use input events to detect when the input thread stops playback
 * Use an enum for mpris playback statuses instead of hardcoded values
modules/control/dbus/dbus.c
modules/control/dbus/dbus.h
modules/control/dbus/dbus_common.h
modules/control/dbus/dbus_player.c
modules/control/dbus/dbus_player.h
modules/control/dbus/dbus_root.c
modules/control/dbus/dbus_root.h
modules/control/dbus/dbus_tracklist.c
modules/control/dbus/dbus_tracklist.h