diff options
author | Christian Mueller <christian@lmuc329619u.(none)> | 2011-12-12 21:43:47 +0100 |
---|---|---|
committer | Christian Mueller <christian@lmuc329619u.(none)> | 2011-12-12 21:43:47 +0100 |
commit | 205595e3d3e6a1d55be3c462ef02c9f828a77feb (patch) | |
tree | 9c1202619c7b9a66ed874ca1a0c81530ae06e426 /PluginRoutingInterfaceDbus/include | |
parent | d85e69bbf6d8ec6e087c7af579686923c76079cd (diff) | |
download | audiomanager-205595e3d3e6a1d55be3c462ef02c9f828a77feb.tar.gz |
some updates, new tests
Diffstat (limited to 'PluginRoutingInterfaceDbus/include')
-rw-r--r-- | PluginRoutingInterfaceDbus/include/RoutingSender.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PluginRoutingInterfaceDbus/include/RoutingSender.h b/PluginRoutingInterfaceDbus/include/RoutingSender.h new file mode 100644 index 0000000..3fad945 --- /dev/null +++ b/PluginRoutingInterfaceDbus/include/RoutingSender.h @@ -0,0 +1,35 @@ +/* + * RoutingSender.h + * + * Created on: Oct 25, 2011 + * Author: christian + */ + +#ifndef ROUTINGSENDER_H_ +#define ROUTINGSENDER_H_ + +#include <routing/RoutingSendInterface.h> + +using namespace am; + +class DbusRoutingSender: public RoutingSendInterface { +public: + DbusRoutingSender(); + virtual ~DbusRoutingSender(); + void startupRoutingInterface(RoutingReceiveInterface* routingreceiveinterface) ; + void routingInterfacesReady() ; + void routingInterfacesRundown() ; + am_Error_e asyncAbort(const am_Handle_s handle) ; + am_Error_e 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) ; + am_Error_e asyncDisconnect(const am_Handle_s handle, const am_connectionID_t connectionID) ; + 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 asyncSetSourceSoundProperty(const am_Handle_s handle, const am_SoundProperty_s& soundProperty, const am_sourceID_t sourceID) ; + 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 ; +}; + +#endif /* ROUTINGSENDER_H_ */ |