diff options
author | Martin Koch <51775589+mkoch-aditg@users.noreply.github.com> | 2020-07-24 07:41:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 07:41:20 +0200 |
commit | 39e6759f9e972d23bb1f7831da80983d32f9c1ea (patch) | |
tree | 79f4bfa043dff9be147e52d3be6e4f67e0f7fece /AudioManagerCore/include/CAmRoutingSender.h | |
parent | 4b34f9dc67e4ff1948d233346c2e5e3b14b8e78a (diff) | |
parent | 803e0cf63c20c5f756b5f1bc1dfe332a9a1c3a18 (diff) | |
download | audiomanager-39e6759f9e972d23bb1f7831da80983d32f9c1ea.tar.gz |
Merge pull request #58 from GENIVI/EarlyAudio
Early Audio implementation
Diffstat (limited to 'AudioManagerCore/include/CAmRoutingSender.h')
-rw-r--r-- | AudioManagerCore/include/CAmRoutingSender.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/AudioManagerCore/include/CAmRoutingSender.h b/AudioManagerCore/include/CAmRoutingSender.h index 39b5c23..cbaddae 100644 --- a/AudioManagerCore/include/CAmRoutingSender.h +++ b/AudioManagerCore/include/CAmRoutingSender.h @@ -62,6 +62,8 @@ public: am_Error_e startupInterfaces(CAmRoutingReceiver *iRoutingReceiver); void setRoutingReady(); void setRoutingRundown(); + am_Error_e asyncTransferConnection(am_Handle_s &handle, am_domainID_t domainID + , const std::vector<std::pair<std::string, std::string>> &route, am_ConnectionState_e state); am_Error_e asyncAbort(const am_Handle_s &handle); am_Error_e asyncConnect(am_Handle_s &handle, am_connectionID_t &connectionID, const am_sourceID_t sourceID, const am_sinkID_t sinkID, const am_CustomConnectionFormat_t connectionFormat); am_Error_e asyncDisconnect(am_Handle_s &handle, const am_connectionID_t connectionID); @@ -262,6 +264,24 @@ public: CAmRoutingSender *mRoutingSender; }; + class handleTransfer : public handleDataBase + { + public: + handleTransfer(IAmRoutingSend *interface, const std::vector<std::pair<std::string, std::string>> &route + , am_ConnectionState_e state, IAmDatabaseHandler *databaseHandler) + : handleDataBase(interface, databaseHandler) + , mRoute(route) + , mState(state) + , mTransferPending(true) {} + ~handleTransfer() { }; + am_Error_e writeDataToDatabase() { return E_OK; }; + + private: + const std::vector<std::pair<std::string, std::string>> mRoute; + am_ConnectionState_e mState; + bool mTransferPending; + }; + class handleSetVolumes : public handleDataBase { public: |