diff options
author | Martin Koch <martin.koch@ese.de> | 2020-06-26 12:21:50 +0200 |
---|---|---|
committer | Martin Koch <martin.koch@ese.de> | 2020-07-01 14:37:32 +0200 |
commit | efe1f88f36383ab1f1ad657e14e4fd4885eaf55f (patch) | |
tree | 4a312c4a5f83a617b2dd4c39838b459249080dc7 /include/IAmControl.h | |
parent | 3270ab2427164fa41c3bcb4e2662ea625f926d84 (diff) | |
download | audiomanager-efe1f88f36383ab1f1ad657e14e4fd4885eaf55f.tar.gz |
AM: change handling or registerEarlyConnection
- use type am_Route_s for announcement from routing side
- register also main connection internally
- forward route details to controller
Signed-off-by: Martin Koch <martin.koch@ese.de>
Diffstat (limited to 'include/IAmControl.h')
-rw-r--r-- | include/IAmControl.h | 9 |
1 files changed, 8 insertions, 1 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
}
|