summaryrefslogtreecommitdiff
path: root/AudioManagerCore/include/CAmRouter.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerCore/include/CAmRouter.h')
-rw-r--r--AudioManagerCore/include/CAmRouter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/AudioManagerCore/include/CAmRouter.h b/AudioManagerCore/include/CAmRouter.h
index 1242824..7543abc 100644
--- a/AudioManagerCore/include/CAmRouter.h
+++ b/AudioManagerCore/include/CAmRouter.h
@@ -31,7 +31,7 @@
#include <functional>
#include "audiomanagertypes.h"
#include "CAmGraph.h"
-#include "IAmDatabaseHandler.h"
+#include "CAmDatabaseHandlerMap.h"
namespace am
@@ -151,7 +151,7 @@ class CAmControlSender;
/**
* Implements an autorouting algorithm for connecting sinks and sources via different audio domains.
*/
-class CAmRouter
+class CAmRouter: public CAmDatabaseHandlerMap::AmDatabaseObserverCallbacks
{
IAmDatabaseHandler* mpDatabaseHandler; //!< pointer to database handler
CAmControlSender* mpControlSender; //!< pointer the controlsender - is used to retrieve information for the optimal route
@@ -281,7 +281,7 @@ public:
/**
* Find the shortest path between given source and sink. This method should be called only after 'load' has been called.
- * This method do not pay attention on the parameter mMaxAllowedCycles and go through all possible paths.
+ * This method do not pay attention on the parameter mMaxAllowedCycles and goes through all possible paths.
*
* @param source start point.
* @param sink end point.