TracktionEngine
Public Member Functions | List of all members
tracktion::engine::TransportControl::Listener Struct Referenceabstract

Listener interface to be notified of changes to the transport. More...

Public Member Functions

virtual ~Listener ()
 Destructor. More...
 
virtual void playbackContextChanged ()=0
 Called when an EditPlaybackContext is created or deleted. More...
 
virtual void autoSaveNow ()=0
 Called periodically to indicate the Edit has changed in an audible way and should be auto-saved. More...
 
virtual void setAllLevelMetersActive (bool metersBecameInactive)=0
 If false, levels should be cleared. More...
 
virtual void setVideoPosition (TimePosition, bool forceJump)=0
 Should set a new position for any playing video. More...
 
virtual void startVideo ()=0
 Should start video playback. More...
 
virtual void stopVideo ()=0
 Should stop video playback. More...
 
virtual void recordingAboutToStop (InputDeviceInstance &)
 Called before recording stops for a specific input instance. More...
 
virtual void recordingFinished (InputDeviceInstance &, const juce::ReferenceCountedArray< Clip > &)
 Called when recording stops for a specific input instance. More...
 

Detailed Description

Listener interface to be notified of changes to the transport.

Constructor & Destructor Documentation

◆ ~Listener()

virtual tracktion::engine::TransportControl::Listener::~Listener ( )
virtual

Destructor.

Member Function Documentation

◆ playbackContextChanged()

virtual void tracktion::engine::TransportControl::Listener::playbackContextChanged ( )
pure virtual

Called when an EditPlaybackContext is created or deleted.

◆ autoSaveNow()

virtual void tracktion::engine::TransportControl::Listener::autoSaveNow ( )
pure virtual

Called periodically to indicate the Edit has changed in an audible way and should be auto-saved.

◆ setAllLevelMetersActive()

virtual void tracktion::engine::TransportControl::Listener::setAllLevelMetersActive ( bool  metersBecameInactive)
pure virtual

If false, levels should be cleared.

◆ setVideoPosition()

virtual void tracktion::engine::TransportControl::Listener::setVideoPosition ( TimePosition  ,
bool  forceJump 
)
pure virtual

Should set a new position for any playing video.

◆ startVideo()

virtual void tracktion::engine::TransportControl::Listener::startVideo ( )
pure virtual

Should start video playback.

◆ stopVideo()

virtual void tracktion::engine::TransportControl::Listener::stopVideo ( )
pure virtual

Should stop video playback.

◆ recordingAboutToStop()

virtual void tracktion::engine::TransportControl::Listener::recordingAboutToStop ( InputDeviceInstance )
virtual

Called before recording stops for a specific input instance.

recordingFinished will be called shortly after with newly created clips.

◆ recordingFinished()

virtual void tracktion::engine::TransportControl::Listener::recordingFinished ( InputDeviceInstance ,
const juce::ReferenceCountedArray< Clip > &   
)
virtual

Called when recording stops for a specific input instance.

Parameters
InputDeviceInstanceThe device instance that just stopped.
recordedClipsThe clips resulting from the recording.

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