TracktionEngine
Public Member Functions | Public Attributes | List of all members
PlaybackRegionWrapper Class Reference

Public Member Functions

 PlaybackRegionWrapper (ARADocument &d, AudioClipBase &audioClip, const ARAFactory &factory, const AudioModificationWrapper &audioModification)
 
 ~PlaybackRegionWrapper ()
 
void updateRange ()
 
SizedStruct< ARA_STRUCT_MEMBER(ARAPlaybackRegionProperties, color)> getPlaybackRegionProperties ()
 NB: This is where time-stretching is setup. More...
 

Public Attributes

ARAPlaybackRegionRef playbackRegionRef = nullptr
 
ARADocumentdoc
 
AudioClipBase & clip
 

Constructor & Destructor Documentation

◆ PlaybackRegionWrapper()

PlaybackRegionWrapper::PlaybackRegionWrapper ( ARADocument d,
AudioClipBase &  audioClip,
const ARAFactory &  factory,
const AudioModificationWrapper audioModification 
)

◆ ~PlaybackRegionWrapper()

PlaybackRegionWrapper::~PlaybackRegionWrapper ( )

Member Function Documentation

◆ updateRange()

void PlaybackRegionWrapper::updateRange ( )

◆ getPlaybackRegionProperties()

SizedStruct<ARA_STRUCT_MEMBER (ARAPlaybackRegionProperties, color)> PlaybackRegionWrapper::getPlaybackRegionProperties ( )

NB: This is where time-stretching is setup.

References clip, doc, ARADocument::musicalContext, and ARADocument::regionSequences.

Referenced by PlaybackRegionWrapper(), and updateRange().

Member Data Documentation

◆ playbackRegionRef

ARAPlaybackRegionRef PlaybackRegionWrapper::playbackRegionRef = nullptr

◆ doc

ARADocument& PlaybackRegionWrapper::doc

◆ clip

AudioClipBase& PlaybackRegionWrapper::clip

The documentation for this class was generated from the following file: