summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/main.cpp
diff options
context:
space:
mode:
authorChristian Mueller <christian@lmuc329619u.(none)>2011-12-14 19:52:07 +0100
committerChristian Mueller <christian@lmuc329619u.(none)>2011-12-14 19:52:07 +0100
commitcad108114630deebde684267d67a5b648479679e (patch)
tree00761a3787a6ef7c821eb615a8a53971c41a29b6 /AudioManagerDaemon/src/main.cpp
parent68678bed2dc3d4a5849d283bec84a01e2836603f (diff)
downloadaudiomanager-cad108114630deebde684267d67a5b648479679e.tar.gz
first release !
Diffstat (limited to 'AudioManagerDaemon/src/main.cpp')
-rw-r--r--AudioManagerDaemon/src/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/AudioManagerDaemon/src/main.cpp b/AudioManagerDaemon/src/main.cpp
index 93bfc8a..2e79696 100644
--- a/AudioManagerDaemon/src/main.cpp
+++ b/AudioManagerDaemon/src/main.cpp
@@ -31,6 +31,8 @@
//todo: versioning of PluginInterfaces on linux level (.symver stuff)
//todo: all communication like all plugins loaded etc...
//todo: seperate documentation of test from normal project
+//todo: check the startup sequence. Dbus shall be activated last...
+//todo: there is a bug in the visible flags of sinks and sources. fix it.
#include <dbus/dbus.h>
#include <dlt/dlt.h>
@@ -75,7 +77,10 @@ int main(int argc, char *argv[])
RoutingReceiver iRoutingReceiver(&iDatabaseHandler,&iRoutingSender,&iControlSender);
ControlReceiver iControlReceiver(&iDatabaseHandler,&iRoutingSender,&iCommandSender);
- iCommandSender.startupInterface(&iCommandReceiver);
+ //since the plugins have been loaded by the *Senders before, we can tell the Controller this:
+ iControlSender.hookAllPluginsLoaded();
+
+
iDBusWrapper.dbusMainLoop();