Adding TTS signal source create method

parent 7bb13b1b
......@@ -3,7 +3,7 @@
*
* VVV VVV A
* VVV VVV AAA Virtual Acoustics (VA)
* VVV VVV AAA Real-time auralisation for virtual reality
* VVV VVV AAA Real-time auralisation for virtual reality
* VVV VVV AAA
* VVVVVV AAA (c) Copyright Institute of Technical Acoustics (ITA), 2015-2017
* VVVV AAA RWTH Aachen University (http://www.akustik.rwth-aachen.de)
......@@ -32,20 +32,20 @@ public:
//! Core states
enum
{
VA_CORESTATE_CREATED = 0, //!< Core was created, but is not yet initialized
VA_CORESTATE_READY = 1, //!< Core is successfully initialized and ready for use
VA_CORESTATE_FAIL = -1, //!< Core is corrupted and can not be recovered (trash state)
VA_CORESTATE_CREATED = 0, //!< Core was created, but is not yet initialized
VA_CORESTATE_READY = 1, //!< Core is successfully initialized and ready for use
VA_CORESTATE_FAIL = -1, //!< Core is corrupted and can not be recovered (trash state)
};
//! Core error levels
enum
{
VA_LOG_LEVEL_QUIET = 0, //!< Quiet log level (no outputs)
VA_LOG_LEVEL_ERROR = 1, //!< Show errors ...
VA_LOG_LEVEL_WARNING = 2, //!< ... and warnings ...
VA_LOG_LEVEL_INFO = 3, //!< ... and infos ...
VA_LOG_LEVEL_VERBOSE = 4, //!< ... and verbose messages ...
VA_LOG_LEVEL_TRACE = 5, //!< ... and tracing outputs.
VA_LOG_LEVEL_QUIET = 0, //!< Quiet log level (no outputs)
VA_LOG_LEVEL_ERROR = 1, //!< Show errors ...
VA_LOG_LEVEL_WARNING = 2, //!< ... and warnings ...
VA_LOG_LEVEL_INFO = 3, //!< ... and infos ...
VA_LOG_LEVEL_VERBOSE = 4, //!< ... and verbose messages ...
VA_LOG_LEVEL_TRACE = 5, //!< ... and tracing outputs.
};
//! Playback states of audiofile signal sources
......@@ -60,45 +60,45 @@ public:
//! Playback actions (transitions) of audiofile signal sources
enum
{
VA_PLAYBACK_ACTION_NONE = -1, //!< No action
VA_PLAYBACK_ACTION_STOP = 0, //!< Stop playback
VA_PLAYBACK_ACTION_NONE = -1, //!< No action
VA_PLAYBACK_ACTION_STOP = 0, //!< Stop playback
VA_PLAYBACK_ACTION_PAUSE = 1, //!< Pause playback
VA_PLAYBACK_ACTION_PLAY = 2, //!< Start/resume playback
VA_PLAYBACK_ACTION_PLAY = 2, //!< Start/resume playback
};
//! Auralization modes (bit-vector flags)
static const int VA_AURAMODE_NOTHING = 0; //!< No auralization
static const int VA_AURAMODE_DIRECT_SOUND = (1<<0); //!< Direct sound
static const int VA_AURAMODE_EARLY_REFLECTIONS = (1<<1); //!< Early reflections
static const int VA_AURAMODE_DIFFUSE_DECAY = (1<<2); //!< Diffuse decay
static const int VA_AURAMODE_DIRECTIVITY = (1<<3); //!< Source directivity
static const int VA_AURAMODE_AIR_ABSORPTION = (1<<4); //!< Absorption in air
static const int VA_AURAMODE_ATMOS_TEMP_VAR = (1<<5); //!< Atmospheric temporal variations
static const int VA_AURAMODE_SCATTERING = (1<<6); //!< Scattering
static const int VA_AURAMODE_DIFFRACTION = (1<<7); //!< Diffraction
static const int VA_AURAMODE_NEARFIELD = (1<<8); //!< Near-field effects
static const int VA_AURAMODE_DOPPLER = (1<<9); //!< Doppler effects
static const int VA_AURAMODE_SPREADING_LOSS = (1<<10); //!< Spherical spreading loss
static const int VA_AURAMODE_NOTHING = 0; //!< No auralization
static const int VA_AURAMODE_DIRECT_SOUND = ( 1 << 0 ); //!< Direct sound
static const int VA_AURAMODE_EARLY_REFLECTIONS = ( 1 << 1 ); //!< Early reflections
static const int VA_AURAMODE_DIFFUSE_DECAY = ( 1 << 2 ); //!< Diffuse decay
static const int VA_AURAMODE_DIRECTIVITY = ( 1 << 3 ); //!< Source directivity
static const int VA_AURAMODE_AIR_ABSORPTION = ( 1 << 4 ); //!< Absorption in air
static const int VA_AURAMODE_ATMOS_TEMP_VAR = ( 1 << 5 ); //!< Atmospheric temporal variations
static const int VA_AURAMODE_SCATTERING = ( 1 << 6 ); //!< Scattering
static const int VA_AURAMODE_DIFFRACTION = ( 1 << 7 ); //!< Diffraction
static const int VA_AURAMODE_NEARFIELD = ( 1 << 8 ); //!< Near-field effects
static const int VA_AURAMODE_DOPPLER = ( 1 << 9 ); //!< Doppler effects
static const int VA_AURAMODE_SPREADING_LOSS = ( 1 << 10 ); //!< Spherical spreading loss
//! Default auralization mode (alias)
static const int VA_AURAMODE_DEFAULT = VA_AURAMODE_DIRECT_SOUND |
VA_AURAMODE_DIRECTIVITY |
VA_AURAMODE_AIR_ABSORPTION |
VA_AURAMODE_DOPPLER |
VA_AURAMODE_SPREADING_LOSS;
VA_AURAMODE_DIRECTIVITY |
VA_AURAMODE_AIR_ABSORPTION |
VA_AURAMODE_DOPPLER |
VA_AURAMODE_SPREADING_LOSS;
//! All auralization modes (mask)
static const int VA_AURAMODE_ALL = VA_AURAMODE_DIRECT_SOUND |
VA_AURAMODE_EARLY_REFLECTIONS |
VA_AURAMODE_DIFFUSE_DECAY |
VA_AURAMODE_DIRECTIVITY |
VA_AURAMODE_AIR_ABSORPTION |
VA_AURAMODE_ATMOS_TEMP_VAR |
VA_AURAMODE_SCATTERING |
VA_AURAMODE_DIFFRACTION |
VA_AURAMODE_NEARFIELD |
VA_AURAMODE_DOPPLER |
VA_AURAMODE_SPREADING_LOSS;
VA_AURAMODE_EARLY_REFLECTIONS |
VA_AURAMODE_DIFFUSE_DECAY |
VA_AURAMODE_DIRECTIVITY |
VA_AURAMODE_AIR_ABSORPTION |
VA_AURAMODE_ATMOS_TEMP_VAR |
VA_AURAMODE_SCATTERING |
VA_AURAMODE_DIFFRACTION |
VA_AURAMODE_NEARFIELD |
VA_AURAMODE_DOPPLER |
VA_AURAMODE_SPREADING_LOSS;
//! Destructor
/**
......@@ -110,10 +110,10 @@ public:
virtual ~IVACore();
//! Returns the core version
virtual void GetVersionInfo( CVACoreVersionInfo* pVersionInfo ) const=0;
virtual void GetVersionInfo( CVACoreVersionInfo* pVersionInfo ) const = 0;
//! Set the output stream for debug messages
virtual void SetDebugStream(std::ostream* posDebug)=0;
virtual void SetDebugStream( std::ostream* posDebug ) = 0;
/* +----------------------------------------------------------+ *
* | | *
......@@ -122,7 +122,7 @@ public:
* +----------------------------------------------------------+ */
//! Returns the state of the core
virtual int GetState() const=0;
virtual int GetState() const = 0;
//! Initializes the core
/**
......@@ -131,7 +131,7 @@ public:
* If the method succeeds, the core is ready to use and within
* the state VA_CORESTATE_READY. Otherwise a CVAException is thrown,
* describing the cause for that the initialization failed. In this
* case the core remains in the state VA_CORESTATE_CREATED.
* case the core remains in the state VA_CORESTATE_CREATED.
* If the initialized failed, the instance remains tidy.
* It is not necessary to clean it up by calling Finalize.
*
......@@ -141,7 +141,7 @@ public:
*
* \important Initialization does not detach event handlers
*/
virtual void Initialize()=0;
virtual void Initialize() = 0;
//! Finalizes the core and frees allocated resources
/**
......@@ -157,13 +157,13 @@ public:
*
* \important Finalization does not detach event handlers
*/
virtual void Finalize()=0;
virtual void Finalize() = 0;
//! Full reset of the core. Clears all scene objects, resources, etc.
/**
* TODO Detailled documentation
*/
virtual void Reset()=0;
virtual void Reset() = 0;
/* +----------------------------------------------------------+ *
* | | *
......@@ -178,7 +178,7 @@ public:
* This method can therefore be called anytime,
* also before initialization and after finalization.
*/
virtual void AttachCoreEventHandler(IVACoreEventHandler* pCoreEventHandler)=0;
virtual void AttachCoreEventHandler( IVACoreEventHandler* pCoreEventHandler ) = 0;
//! Detaches a handler for core events from the core instance
/**
......@@ -190,7 +190,7 @@ public:
* \note When the method returns, it is guaranteed that the handler will not
* receive any further core events and may safely be destroyed.
*/
virtual void DetachCoreEventHandler(IVACoreEventHandler* pCoreEventHandler)=0;
virtual void DetachCoreEventHandler( IVACoreEventHandler* pCoreEventHandler ) = 0;
/* +----------------------------------------------------------+ *
* | | *
......@@ -199,10 +199,10 @@ public:
* +----------------------------------------------------------+ */
//! Enumerates all modules of the core
virtual void EnumerateModules(std::vector<CVAModuleInfo>& viModuleInfos) const=0;
virtual void EnumerateModules( std::vector< CVAModuleInfo >& viModuleInfos ) const = 0;
//! Calls a module of the core with arguments and return data
virtual void CallModule(const std::string& sModuleName, const CVAStruct& oArgs, CVAStruct& oReturn)=0;
virtual void CallModule( const std::string& sModuleName, const CVAStruct& oArgs, CVAStruct& oReturn ) = 0;
//! Adds a search path to the core instance
/**
......@@ -223,14 +223,13 @@ public:
*
* \param sFilename Filename
* \param sName Name (optional, e.g. "Trumpet")
*
*
* \return Directivity-ID
*
* \note Slashes and backslashed may safely be used.
* Paths are automatically converted into the system's convention.
*/
virtual int LoadDirectivity(const std::string& sFilename,
const std::string& sName="")=0;
virtual int LoadDirectivity( const std::string& sFilename, const std::string& sName = "" ) = 0;
//! Frees a directivity
/**
......@@ -243,13 +242,13 @@ public:
* \return true, if the directivity was successfully freed.
* false, otherwise
*/
virtual bool FreeDirectivity(int iDirID)=0;
virtual bool FreeDirectivity( int iDirID ) = 0;
//! Retrieves information of a loaded directivity
virtual CVADirectivityInfo GetDirectivityInfo(int iDirID) const=0;
virtual CVADirectivityInfo GetDirectivityInfo( int iDirID ) const = 0;
//! Retrieves information of all loaded directivities
virtual void GetDirectivityInfos(std::vector<CVADirectivityInfo>& vdiDest) const=0;
virtual void GetDirectivityInfos( std::vector< CVADirectivityInfo >& vdiDest ) const = 0;
/* +----------------------------------------------------------+ *
* | | *
......@@ -264,14 +263,13 @@ public:
*
* \param sFilename Filename
* \param sName Name (optional, e.g. "Artificial head")
*
*
* \return HRIR-ID
*
* \note Slashes and backslashes may safely be used.
* Paths are automatically converted into the system's convention.
*/
virtual int LoadHRIRDataset(const std::string& sFilename,
const std::string& sName="")=0;
virtual int LoadHRIRDataset( const std::string& sFilename, const std::string& sName = "" ) = 0;
//! Frees a HRIR dataset
/**
......@@ -284,13 +282,13 @@ public:
* \return true, if the HRIR dataset was successfully freed.
* false, otherwise
*/
virtual bool FreeHRIRDataset(int iHRIRID)=0;
virtual bool FreeHRIRDataset( int iHRIRID ) = 0;
//! Retrieves information of a loaded HRIR dataset
virtual CVAHRIRInfo GetHRIRInfo(int iHRIRID) const=0;
virtual CVAHRIRInfo GetHRIRInfo( int iHRIRID ) const = 0;
//! Retrieves information of all loaded HRIR datasets
virtual void GetHRIRInfos(std::vector<CVAHRIRInfo>& vhiDest) const=0;
virtual void GetHRIRInfos( std::vector< CVAHRIRInfo >& vhiDest ) const = 0;
/* +----------------------------------------------------------+ *
* | | *
......@@ -304,15 +302,15 @@ public:
*
* \param sFilename Filename
* \param sName Name (optional, e.g. "door handle")
*
*
* \return Sound-ID
*
* \note The sound must be mono (single channel only)
* \note Slashes and backslashes may safely be used.
* Paths are automatically converted into the system's convention.
*/
virtual int LoadSound(const std::string& sFilename,
const std::string& sName="")=0;
virtual int LoadSound( const std::string& sFilename,
const std::string& sName = "" ) = 0;
//! Frees a sound
/**
......@@ -325,13 +323,13 @@ public:
* \return true, if the sound was successfully freed.
* false, otherwise
*/
virtual bool FreeSound(int iSoundID)=0;
virtual bool FreeSound( int iSoundID ) = 0;
//! Retrieves information of a loaded sound
virtual CVASoundInfo GetSoundInfo(int iSoundID) const=0;
virtual CVASoundInfo GetSoundInfo( int iSoundID ) const = 0;
//! Retrieves information of all loaded sounds
virtual void GetSoundInfos(std::vector<CVASoundInfo>& vsiDest) const=0;
virtual void GetSoundInfos( std::vector<CVASoundInfo>& vsiDest ) const = 0;
//! Plays a sound
/**
......@@ -344,7 +342,7 @@ public:
* \return Playback-ID>0, if successful
* -1, otherwise
*/
virtual int PlaySound(int iSoundID, double dVolume=1.0) const=0;
virtual int PlaySound( int iSoundID, double dVolume = 1.0 ) const = 0;
/* +----------------------------------------------------------+ *
* | | *
......@@ -354,33 +352,42 @@ public:
//! Creates an audiofile signal source
/**
* Creates a signal source which streams the samples of an audiofile.
* The audiofile must be mono and its sampling rate must match that
* of the core.
*
* \param sFilename Filename/path
* \param sName Name (optional, e.g. "Trumpet")
*
* \return Signal source ID
*/
virtual std::string CreateAudiofileSignalSource(const std::string& sFilename,
const std::string& sName="")=0;
* Creates a signal source which streams the samples of an audiofile.
* The audiofile must be mono and its sampling rate must match that
* of the core.
*
* \param sFilename Filename/path
* \param sName Name (optional, e.g. "Trumpet")
*
* \return Signal source ID
*/
virtual std::string CreateAudiofileSignalSource( const std::string& sFilename, const std::string& sName = "" ) = 0;
//! Creates a text-to-speech (TTS) signal source
/**
* Creates a signal source which streams generated samples from a text input.
*
* @param[in] sName Name (optional, e.g. "Penny")
*
* @return Signal source ID
*/
virtual std::string CreateTextToSpeechSignalSource( const std::string& sName = "" ) = 0;
//! Creates a sequencer signal source
/**
* Creates a sequencer signal source.
*
* \param sName Name (optional, e.g. "Sequencer 1")
*
*
* \return Signal source ID
*/
virtual std::string CreateSequencerSignalSource(const std::string& sName="")=0;
virtual std::string CreateSequencerSignalSource( const std::string& sName = "" ) = 0;
//! Creates a network-based signal source
/**
* Creates a signal source which receives audio samples via network.
* Therefore an IP socket is set up with the given parameters.
*
*
* @param[in] sInterface IP address of the socket (e.g. 127.0.0.1, no hostnames!)
* @param[in] iPort Destination port on which samples are received
* @param[in] sName Optional name
......@@ -388,7 +395,7 @@ public:
* @note Usual port range is 12480 to 12500
*
* @return ID of signal source
*/
*/
virtual std::string CreateNetworkStreamSignalSource( const std::string& sInterface, int iPort, const std::string& sName = "" ) = 0;
//! Creates a rotating engine source
......@@ -396,44 +403,43 @@ public:
* \param sName Name of the engine
* \return ID of signal source
*/
virtual std::string CreateEngineSignalSource( const std::string& sName="" )=0;
virtual std::string CreateEngineSignalSource( const std::string& sName = "" ) = 0;
//! Creates a machine signal source
/**
* \param sName Name of the machine
*/
virtual std::string CreateMachineSignalSource( const std::string& sName="" )=0;
virtual std::string CreateMachineSignalSource( const std::string& sName = "" ) = 0;
//! Deletes a signal source
/**
* Deletes a signal source. This is only possible if it is not in use.
*
*
* \return true, if the signal source has been deleted
* false, otherwise
*/
virtual bool DeleteSignalSource(const std::string& sID)=0;
virtual bool DeleteSignalSource( const std::string& sID ) = 0;
//! Registers an (external) signal source with the core
/**
* This method registers a signal source which is not created and managed
* by the core. The core assignes it an ID, which makes it usable for
* auralization.
*
*
* \param pSource Signal source instance
* \param sName Name (optional, z.B. "My tone generator")
*
* \return Signal source ID
*
* \note This function is only locally available, but not remote
*/
virtual std::string RegisterSignalSource(IVAAudioSignalSource* pSignalSource,
const std::string& sName="")=0;
*/
virtual std::string RegisterSignalSource( IVAAudioSignalSource* pSignalSource, const std::string& sName = "" ) = 0;
//! Unregisters an (external) signal source from the core
/**
* Unregisters an (external) signal source from the core.
* This is only possible, if the signal source is not in use.
*
*
* \param pSource Signal source instance
*
* \return true, if the signal source has been unregistered
......@@ -441,42 +447,42 @@ public:
*
* \note This function is only locally available, but not remote
*/
virtual bool UnregisterSignalSource(IVAAudioSignalSource* pSignalSource)=0;
virtual bool UnregisterSignalSource( IVAAudioSignalSource* pSignalSource ) = 0;
//! Retrieves information of a signal source
virtual CVASignalSourceInfo GetSignalSourceInfo(const std::string& sSignalSourceID) const=0;
virtual CVASignalSourceInfo GetSignalSourceInfo( const std::string& sSignalSourceID ) const = 0;
//! Retrieves information of all signal sources
virtual void GetSignalSourceInfos(std::vector<CVASignalSourceInfo>& vssiDest) const=0;
virtual void GetSignalSourceInfos( std::vector< CVASignalSourceInfo >& vssiDest ) const = 0;
//! Returns the playback state flag (bit-vector) of an audiofile signal source
virtual int GetAudiofileSignalSourcePlaybackState( const std::string& sSignalSourceID ) const=0;
virtual int GetAudiofileSignalSourcePlaybackState( const std::string& sSignalSourceID ) const = 0;
//! Set the playback state of an audiofile signal source
/**
* Start, stop or pause the playback of an audiofile using the playback action flags (bit-vector).
*/
virtual void SetAudiofileSignalSourcePlaybackAction( const std::string& sSignalSourceID, int iPlaybackAction )=0;
virtual void SetAudiofileSignalSourcePlaybackAction( const std::string& sSignalSourceID, int iPlaybackAction ) = 0;
//! Set the playback position of an audiofile signal source
/**
* \param sSignalSourceID Signal source ID
* \param dPlaybackPosition Playback position [s]
*/
virtual void SetAudiofileSignalSourcePlaybackPosition( const std::string& sSignalSourceID, double dPlaybackPosition )=0;
virtual void SetAudiofileSignalSourcePlaybackPosition( const std::string& sSignalSourceID, double dPlaybackPosition ) = 0;
//! Set playback looping mode (true = looping)
/**
* \param sSignalSourceID Signal source ID
* \param bLooping Playback is looping
*/
virtual void SetAudiofileSignalSourceIsLooping( const std::string& sSignalSourceID, bool bLooping )=0;
virtual void SetAudiofileSignalSourceIsLooping( const std::string& sSignalSourceID, bool bLooping ) = 0;
//! Get playback looping mode (true = looping)
/**
* \param sSignalSourceID Signal source ID
*/
virtual bool GetAudiofileSignalSourceIsLooping( const std::string& sSignalSourceID ) const=0;
virtual bool GetAudiofileSignalSourceIsLooping( const std::string& sSignalSourceID ) const = 0;
//! Starts the signal of a machine source
/**
......@@ -535,7 +541,7 @@ public:
//! Adds a sound playback for a sequencer signal source
/**
* This method adds the playback of a sound for a sequencer signal source.
*
*
* \param sSignalSourceID ID of the sequencer signal source
* \param iSound ID of the sound
* \param iFlags Playback flags
......@@ -543,14 +549,14 @@ public:
*
* \return Playback ID
*/
virtual int AddSoundPlayback(const std::string& sSignalSourceID, int iSoundID, int iFlags, double dTimecode=0)=0;
virtual int AddSoundPlayback( const std::string& sSignalSourceID, int iSoundID, int iFlags, double dTimecode = 0 ) = 0;
//! Removes an existing sound playback from a sequencer signal source
/**
* \return true, if the playback has been removed
* false, otherwise
*/
virtual bool RemoveSoundPlayback(int iPlaybackID)=0;
virtual bool RemoveSoundPlayback( int iPlaybackID ) = 0;
// TODO: AlterSoundPlayback?
......@@ -558,21 +564,21 @@ public:
/**
* This method sets parameters of a signal source. Behavior depends on type and
* implementation of the referred instance.
*
*
* \param sSignalSourceID ID of signal source
* \param oParams Parameter structure
*/
virtual void SetSignalSourceParameters( const std::string& sSignalSourceID, const CVAStruct& oParams )=0;
virtual void SetSignalSourceParameters( const std::string& sSignalSourceID, const CVAStruct& oParams ) = 0;
//! Get parameters from a signal source
/**
* This method returns parameters of a signal source. Behavior depends on type and
* implementation of the referred instance.
*
*
* \param sSignalSourceID ID of signal source
* \return Parameter structure
*/
virtual CVAStruct GetSignalSourceParameters( const std::string& sSignalSourceID, const CVAStruct& oParams ) const=0;
virtual CVAStruct GetSignalSourceParameters( const std::string& sSignalSourceID, const CVAStruct& oParams ) const = 0;
/* +----------------------------------------------------------+ *
* | | *
......@@ -581,7 +587,7 @@ public:
* +----------------------------------------------------------+ */
//! Returns wheather a synchronized scene modification is in progress
virtual bool IsSceneLocked() const=0;
virtual bool IsSceneLocked() const = 0;
//! Begins a synchronized scene modification
/**
......@@ -589,7 +595,7 @@ public:
* Dieses Recht bleibt ihm erhalten, bis er es wieder durch Aufruf der Methode
* UnlockScene freigibt.
*/
virtual void LockScene()=0;
virtual void LockScene() = 0;
//! Ends a synchronized scene modification and applies all changes
/**
......@@ -600,7 +606,7 @@ public:
* \return Zustands-ID der Szene, falls erfolgreich
* -1 sonst
*/
virtual int UnlockScene()=0;
virtual int UnlockScene() = 0;
/* +----------------------------------------------------------+ *
* | | *
......@@ -609,13 +615,13 @@ public:
* +----------------------------------------------------------+ */
//! Return all sound source IDs
virtual void GetSoundSourceIDs(std::vector<int>& vSoundSourceIDs)=0;
virtual void GetSoundSourceIDs( std::vector< int >& vSoundSourceIDs ) = 0;
//! Create a sound source
/**
* This method creates a new sound source and returns its ID.
* A signal source is not created and assigned to the sound source.
*
*
* \param sName Name (optional)
* \param iAuralizationMode Auralization mode (optional, default: VA_AURAMODE_ALL)
* \param dVolume Volume [factor] (optional, default: 1.0)
......@@ -623,9 +629,7 @@ public:
* \return ID of the new sound source, if the method succeeded
* -1, otherwise
*/
virtual int CreateSoundSource(const std::string& sName,
int iAuralizationMode=VA_AURAMODE_ALL,
double dVolume=1)=0;
virtual int CreateSoundSource( const std::string& sName, int iAuralizationMode = VA_AURAMODE_ALL, double dVolume = 1 ) = 0;
//! Create a sound source explicitly for a certain renderer
/**
......@@ -633,7 +637,7 @@ public:
* This sound source will be skipped for rendering from any other
* but the given renderer. See \GetRenderingModules to get a list
* of available renderers and their name identifier.
*
*
* \param sName Name
* \param sRendererID Identifier of target renderer
*
......@@ -641,7 +645,7 @@ public:
*
* \note Throws VA exception
*/
virtual int CreateSoundSourceExplicitRenderer( const std::string& sName, const std::string& sRendererID ) =0;
virtual int CreateSoundSourceExplicitRenderer( const std::string& sName, const std::string& sRendererID ) = 0;
//! Schallquelle entfernen
/**
......@@ -650,7 +654,7 @@ public:
* \return 0 falls die Schallquelle entfernt wurde,
* -1 im Fehlerfall
*/
virtual int DeleteSoundSource(int iSoundSourceID)=0;
virtual int DeleteSoundSource( int iSoundSourceID ) = 0;
//! Enables or disables a sound source (removes the sound source from processing within renderers)
/**
......@@ -659,8 +663,8 @@ public:
*
* @sa GetSoundSourceEnabled()
*/
virtual void SetSoundSourceEnabled( int iSoundSourceID, bool bEnabled ) =0;
virtual void SetSoundSourceEnabled( int iSoundSourceID, bool bEnabled ) = 0;
//! Returns sound source enabled/disabled status
/**
* @param[in] iSoundSourceID Sound source identifier
......@@ -668,8 +672,8 @@ public:
*
* @sa SetSoundSourceEnabled()
*/
virtual bool GetSoundSourceEnabled( int iSoundSourceID ) const=0;
virtual bool GetSoundSourceEnabled( int iSoundSourceID ) const = 0;
//! Enables a sound source
/**
* @note Alias function using SetSoundSourceEnabled.
......@@ -680,7 +684,7 @@ public:
* @sa SetSoundSourceEnabled()
*/
virtual void EnableSoundSource( int iSoundSourceID );
//! Disables a sound source
/**
* @note Alias function using SetSoundSourceEnabled.
......@@ -693,17 +697,17 @@ public:
virtual void DisableSoundSource( int iSoundSourceID );
//! Name einer Schallquelle zurückgeben
virtual std::string GetSoundSourceName(int iSoundSourceID) const=0;
virtual std::string GetSoundSourceName( int iSoundSourceID ) const = 0;
//! Name einer Schallquelle setzen
virtual void SetSoundSourceName(int iSoundSourceID, const std::string& sName)=0;
virtual void SetSoundSourceName( int iSoundSourceID, const std::string& sName ) = 0;
//! Signalquelle einer Schallquelle zurückgeben
virtual std::string GetSoundSourceSignalSource(int iSoundSourceID) const=0;
virtual std::string GetSoundSourceSignalSource( int iSoundSourceID ) const = 0;
//! Attach a signal source to sound source