summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/IAmControl.h9
-rw-r--r--include/IAmRouting.h4
2 files changed, 10 insertions, 3 deletions
diff --git a/include/IAmControl.h b/include/IAmControl.h
index d393b56..e3fe74c 100644
--- a/include/IAmControl.h
+++ b/include/IAmControl.h
@@ -439,6 +439,12 @@ public:
*/
virtual am_Error_e getCrossfaderInfoDB(const am_crossfaderID_t crossfaderID, am_Crossfader_s& crossfaderData) const =0;
/**
+ * returns details of a connection, including involved sources and sinks
+ * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if
+ * crossfader was not found
+ */
+ virtual am_Error_e getConnectionInfoDB(const am_connectionID_t connectionID, am_Connection_s& connectionData) const =0;
+ /**
* returns sources and the sink of a crossfader
* @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if
* crossfader was not found
@@ -882,6 +888,7 @@ public:
*
* @param domainID: home domain announcing this early connection
* @param mainConnectionData: details of main connection
+ * @param route: route details as requested from routing side
*
* @return success indicator. Controller should use E_OK on success,
* E_ALREADY_EXISTS or E_NO_CHANGE if given connection is already registered,
@@ -889,7 +896,7 @@ public:
* E_NOT_POSSIBLE if feature is not supported by the controller
*/
virtual am_Error_e hookSystemRegisterEarlyMainConnection(am_domainID_t domainID
- , const am_MainConnection_s &mainConnectionData)
+ , const am_MainConnection_s &mainConnectionData, const am_Route_s &route)
{
return E_NOT_POSSIBLE; // empty default implementation
}
diff --git a/include/IAmRouting.h b/include/IAmRouting.h
index c58c721..b86e782 100644
--- a/include/IAmRouting.h
+++ b/include/IAmRouting.h
@@ -144,7 +144,7 @@ public:
* Support announcement of audio connections already active at AM startup
*
* @param domainID: home domain announcing this early connection
- * @param route: list of sub-connections (populated with unspecified connectionID=0 field)
+ * @param route: list of connection segments
* @param state: either stable CS_CONNECTED, CS_DISCONNECTED, CS_SUSPENDED
* or transient CS_CONNECTING, CS_DISCONNECTING
*
@@ -154,7 +154,7 @@ public:
* CS_CONNECTING or CS_DISCONNECTING, a secondary registerEarlyConnection()
* call is expected once a stable state is reached
*/
- virtual am_Error_e registerEarlyConnection(am_domainID_t domainID, const std::vector< am_Connection_s > &route
+ virtual am_Error_e registerEarlyConnection(am_domainID_t domainID, const am_Route_s &route
, am_ConnectionState_e state) = 0;
/**