From 58d62c4af578c10375bf9baa946e33f340c42a1f Mon Sep 17 00:00:00 2001 From: christian mueller Date: Thu, 26 Jan 2012 18:10:02 +0100 Subject: * regenerated EA code based on Conti Feedback. * changed paths of audiomanagertypes include in generated files * changed order of parameters in asyncSetSinkSoundProperty / asyncSetSourceSoundProperty / cbTimingInformationChanged to have common style over all interfaces. * changed default include paths for Controller etc... * cleanup of warnings --- PluginRoutingInterfaceDbus/include/RoutingSender.h | 8 +-- PluginRoutingInterfaceDbus/src/RoutingSender.cpp | 71 +++++++++++++++++++--- 2 files changed, 65 insertions(+), 14 deletions(-) (limited to 'PluginRoutingInterfaceDbus') diff --git a/PluginRoutingInterfaceDbus/include/RoutingSender.h b/PluginRoutingInterfaceDbus/include/RoutingSender.h index 2b6f75b..700a1f5 100644 --- a/PluginRoutingInterfaceDbus/include/RoutingSender.h +++ b/PluginRoutingInterfaceDbus/include/RoutingSender.h @@ -44,10 +44,10 @@ public: am_Error_e asyncSetSinkVolume(const am_Handle_s handle, const am_sinkID_t sinkID, const am_volume_t volume, const am_RampType_e ramp, const am_time_t time); am_Error_e asyncSetSourceVolume(const am_Handle_s handle, const am_sourceID_t sourceID, const am_volume_t volume, const am_RampType_e ramp, const am_time_t time); am_Error_e asyncSetSourceState(const am_Handle_s handle, const am_sourceID_t sourceID, const am_SourceState_e state); - am_Error_e asyncSetSinkSoundProperty(const am_Handle_s handle, const am_SoundProperty_s& soundProperty, const am_sinkID_t sinkID); - am_Error_e asyncSetSinkSoundProperties(const am_Handle_s handle, const std::vector& listSoundProperties, const am_sinkID_t sinkID); - am_Error_e asyncSetSourceSoundProperty(const am_Handle_s handle, const am_SoundProperty_s& soundProperty, const am_sourceID_t sourceID); - am_Error_e asyncSetSourceSoundProperties(const am_Handle_s handle, const std::vector& listSoundProperties, const am_sourceID_t sourceID); + am_Error_e asyncSetSinkSoundProperty(const am_Handle_s handle, const am_sinkID_t sinkID, const am_SoundProperty_s& soundProperty); + am_Error_e asyncSetSinkSoundProperties(const am_Handle_s handle, const am_sinkID_t sinkID, const std::vector& listSoundProperties); + am_Error_e asyncSetSourceSoundProperty(const am_Handle_s handle, const am_sourceID_t sourceID, const am_SoundProperty_s& soundProperty); + am_Error_e asyncSetSourceSoundProperties(const am_Handle_s handle, const am_sourceID_t sourceID, const std::vector& listSoundProperties); am_Error_e asyncCrossFade(const am_Handle_s handle, const am_crossfaderID_t crossfaderID, const am_HotSink_e hotSink, const am_RampType_e rampType, const am_time_t time); am_Error_e setDomainState(const am_domainID_t domainID, const am_DomainState_e domainState); am_Error_e returnBusName(std::string& BusName) const; diff --git a/PluginRoutingInterfaceDbus/src/RoutingSender.cpp b/PluginRoutingInterfaceDbus/src/RoutingSender.cpp index 44eadc5..0feb441 100644 --- a/PluginRoutingInterfaceDbus/src/RoutingSender.cpp +++ b/PluginRoutingInterfaceDbus/src/RoutingSender.cpp @@ -45,6 +45,7 @@ DbusRoutingSender::~DbusRoutingSender() void DbusRoutingSender::startupRoutingInterface(RoutingReceiveInterface *routingreceiveinterface) { + (void)routingreceiveinterface; } void DbusRoutingSender::routingInterfacesReady() @@ -57,42 +58,70 @@ void DbusRoutingSender::routingInterfacesRundown() am_Error_e DbusRoutingSender::asyncAbort(const am_Handle_s handle) { + (void) handle; + return (E_NOT_USED); } am_Error_e DbusRoutingSender::asyncConnect(const am_Handle_s handle, const am_connectionID_t connectionID, const am_sourceID_t sourceID, const am_sinkID_t sinkID, const am_ConnectionFormat_e connectionFormat) { + (void) handle; + (void) connectionID; + (void) sourceID; + (void) sinkID; + (void) connectionFormat; + return (E_NOT_USED); } am_Error_e DbusRoutingSender::asyncDisconnect(const am_Handle_s handle, const am_connectionID_t connectionID) { + (void) handle; + (void) connectionID; + return (E_NOT_USED); } am_Error_e DbusRoutingSender::asyncSetSinkVolume(const am_Handle_s handle, const am_sinkID_t sinkID, const am_volume_t volume, const am_RampType_e ramp, const am_time_t time) { + (void) handle; + (void) sinkID; + (void) volume; + (void) ramp; + (void) time; + return (E_NOT_USED); } am_Error_e DbusRoutingSender::asyncSetSourceVolume(const am_Handle_s handle, const am_sourceID_t sourceID, const am_volume_t volume, const am_RampType_e ramp, const am_time_t time) { + (void) handle; + (void) sourceID; + (void) volume; + (void) ramp; + (void) time; + return (E_NOT_USED); } am_Error_e DbusRoutingSender::asyncSetSourceState(const am_Handle_s handle, const am_sourceID_t sourceID, const am_SourceState_e state) { -} - -am_Error_e DbusRoutingSender::asyncSetSinkSoundProperty(const am_Handle_s handle, const am_SoundProperty_s& soundProperty, const am_sinkID_t sinkID) -{ + (void) handle; + (void) sourceID; + (void) state; + return (E_NOT_USED); } am_Error_e DbusRoutingSender::asyncCrossFade(const am_Handle_s handle, const am_crossfaderID_t crossfaderID, const am_HotSink_e hotSink, const am_RampType_e rampType, const am_time_t time) { + (void) handle; + (void) crossfaderID; + (void) hotSink; + (void) rampType; + (void) time; + return (E_NOT_USED); } am_Error_e DbusRoutingSender::setDomainState(const am_domainID_t domainID, const am_DomainState_e domainState) { -} - -am_Error_e DbusRoutingSender::asyncSetSourceSoundProperty(const am_Handle_s handle, const am_SoundProperty_s & soundProperty, const am_sourceID_t sourceID) -{ + (void) domainID; + (void) domainState; + return (E_NOT_USED); } am_Error_e DbusRoutingSender::returnBusName(std::string & BusName) const @@ -101,14 +130,36 @@ am_Error_e DbusRoutingSender::returnBusName(std::string & BusName) const return (E_OK); } -am_Error_e DbusRoutingSender::asyncSetSinkSoundProperties(const am_Handle_s handle, const std::vector & listSoundProperties, const am_sinkID_t sinkID) +am_Error_e DbusRoutingSender::asyncSetSinkSoundProperty(const am_Handle_s handle, const am_sinkID_t sinkID, const am_SoundProperty_s & soundProperty) { + (void) handle; + (void) sinkID; + (void) soundProperty; + return (E_NOT_USED); +} +am_Error_e DbusRoutingSender::asyncSetSinkSoundProperties(const am_Handle_s handle, const am_sinkID_t sinkID, const std::vector & listSoundProperties) +{ + (void) handle; + (void) sinkID; + (void) listSoundProperties; + return (E_NOT_USED); } -am_Error_e DbusRoutingSender::asyncSetSourceSoundProperties(const am_Handle_s handle, const std::vector & listSoundProperties, const am_sourceID_t sourceID) +am_Error_e DbusRoutingSender::asyncSetSourceSoundProperty(const am_Handle_s handle, const am_sourceID_t sourceID, const am_SoundProperty_s & soundProperty) { + (void) handle; + (void) sourceID; + (void) soundProperty; + return (E_NOT_USED); +} +am_Error_e DbusRoutingSender::asyncSetSourceSoundProperties(const am_Handle_s handle, const am_sourceID_t sourceID, const std::vector & listSoundProperties) +{ + (void) handle; + (void) sourceID; + (void) listSoundProperties; + return (E_NOT_USED); } uint16_t DbusRoutingSender::getInterfaceVersion() const -- cgit v1.2.1