Adding sequencer signal source methods

parent 5f895864
......@@ -563,7 +563,23 @@ public:
* \return Parameter structure
*/
virtual CVAStruct GetSignalSourceParameters( const std::string& sSignalSourceID, const CVAStruct& oParams ) const = 0;
//! Add sequencer sample from file path
inline int AddSignalSourceSequencerSample( const std::string& sSignalSourceID, const std::string sFilePath )
{
CVAStruct oArgs;
oArgs[ "filepath" ] = sFilePath;
return AddSignalSourceSequencerSample( sSignalSourceID, oArgs );
};
//! Add sequencer sample
virtual int AddSignalSourceSequencerSample( const std::string& sSignalSourceID, const CVAStruct& oArgs ) = 0;
//! Add sequencer sound playback
virtual int AddSignalSourceSequencerSoundPlayback( const std::string& sSignalSourceID, const int iSoundID, const int iFlags, const double dTimecode );
//! Remove sound sample (a sample added for playback can not be reverted)
virtual void RemoveSignalSourceSequencerSoundSample( const std::string& sSignalSourceID, const int iSoundID ) = 0;
//! Returns wheather a synchronized scene modification is in progress
virtual bool GetUpdateLocked() const = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment