diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-21 18:21:51 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-21 18:21:51 +0100 |
commit | 817b5ead32bb080bd5a6fff26b3957d400ba598c (patch) | |
tree | 8a9ee999711a1fc2300b086d2acab558da6fded9 /PluginControlInterface/src | |
parent | e2773d0816b538c241d63054e2850e215ac96f97 (diff) | |
download | audiomanager-817b5ead32bb080bd5a6fff26b3957d400ba598c.tar.gz |
* [ GAM-18 ] Add cancel rundown messages to interfaces: added possbility for controller to call rundown on command and routing interfaces
* beautified EA generated code in comments
Diffstat (limited to 'PluginControlInterface/src')
-rw-r--r-- | PluginControlInterface/src/ControlSender.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/PluginControlInterface/src/ControlSender.cpp b/PluginControlInterface/src/ControlSender.cpp index 8969b1a..60ae417 100644 --- a/PluginControlInterface/src/ControlSender.cpp +++ b/PluginControlInterface/src/ControlSender.cpp @@ -57,6 +57,7 @@ am_Error_e ControlSenderPlugin::startupController(ControlReceiveInterface *contr assert(controlreceiveinterface); mControlReceiveInterface = controlreceiveinterface; //here is a good place to insert SystemProperties into the database... + //and might be a good place to insert the Source and Sink CLasses as well return E_NOT_USED; } @@ -134,7 +135,8 @@ am_Error_e ControlSenderPlugin::hookUserDisconnectionRequest(const am_mainConnec am_Error_e ControlSenderPlugin::hookUserSetMainSinkSoundProperty(const am_sinkID_t sinkID, const am_MainSoundProperty_s & soundProperty) { - if (sinkID==0) return E_NON_EXISTENT; + if (sinkID == 0) + return E_NON_EXISTENT; mainSinkSoundPropertySet set; set.sinkID = sinkID; @@ -438,10 +440,11 @@ void ControlSenderPlugin::cbAckSetSinkSoundProperties(const am_Handle_s handle, (void) handle; } -am_Error_e ControlSenderPlugin::getConnectionFormatChoice(const am_sourceID_t sourceID, const am_sinkID_t sinkID, const std::vector<am_ConnectionFormat_e> listPossibleConnectionFormats, std::vector<am_ConnectionFormat_e>& listPrioConnectionFormats) +am_Error_e ControlSenderPlugin::getConnectionFormatChoice(const am_sourceID_t sourceID, const am_sinkID_t sinkID, const am_Route_s listRoute, const std::vector<am_ConnectionFormat_e> listPossibleConnectionFormats, std::vector<am_ConnectionFormat_e> & listPrioConnectionFormats) { (void) sourceID; (void) sinkID; + (void) listRoute; //ok, this is cheap. In a real product you have your preferences, right? listPrioConnectionFormats = listPossibleConnectionFormats; return (E_OK); |