summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/main.cpp
diff options
context:
space:
mode:
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();