diff options
author | Frank Herchet <frank.fh.herchet@bmw.de> | 2012-02-14 17:00:45 +0100 |
---|---|---|
committer | Frank Herchet <frank.fh.herchet@bmw.de> | 2012-02-14 17:00:45 +0100 |
commit | 6d59e9585db35d9a3c16f01b4180ea440e4b5a4a (patch) | |
tree | ac8931eab1c733becece1a6fa49216169fdcf90e /PluginControlInterface/include | |
parent | 000b6cb9766473e76e3f7790c6579d44a09c81c0 (diff) | |
download | audiomanager-6d59e9585db35d9a3c16f01b4180ea440e4b5a4a.tar.gz |
* merge of changes from Christian
Diffstat (limited to 'PluginControlInterface/include')
-rw-r--r-- | PluginControlInterface/include/ControlSender.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/PluginControlInterface/include/ControlSender.h b/PluginControlInterface/include/ControlSender.h index bd8d88f..ace61a6 100644 --- a/PluginControlInterface/include/ControlSender.h +++ b/PluginControlInterface/include/ControlSender.h @@ -94,6 +94,20 @@ private: std::vector<handleStatus> listHandleStaus; }; + struct mainVolumeSet + { + am_sinkID_t sinkID; + am_Handle_s handle; + am_mainVolume_t mainVolume; + }; + + struct mainSinkSoundPropertySet + { + am_sinkID_t sinkID; + am_Handle_s handle; + am_MainSoundProperty_s mainSoundProperty; + }; + class findHandle { handleStatus mHandle; @@ -132,13 +146,16 @@ private: } bool operator()(const am_MainConnection_s& mainConnection) { - if (mMainConnection.connectionID == mainConnection.connectionID) + if (mMainConnection.mainConnectionID == mainConnection.mainConnectionID) return true; return false; } }; std::vector<mainConnectionSet> mListOpenConnections; + std::vector<mainConnectionSet> mListOpenDisconnections; + std::vector<mainVolumeSet> mListOpenVolumeChanges; + std::vector<mainSinkSoundPropertySet> mListMainSoundPropertyChanges; }; #endif /* CONTROLSENDER_H_ */ |