Loading...
Searching...
No Matches
ARAAudioModificationListener Class Reference

A base class for listeners that want to know about changes to an ARAAudioModification object. More...

#include <juce_ARAModelObjects.h>

Inheritance diagram for ARAAudioModificationListener:

Public Member Functions

virtual ~ARAAudioModificationListener ()=default
 Destructor.
 
virtual void willUpdateAudioModificationProperties (ARAAudioModification *audioModification, ARA::PlugIn::PropertiesPtr< ARA::ARAAudioModificationProperties > newProperties)
 Called before the audio modification's properties are updated.
 
virtual void didUpdateAudioModificationProperties (ARAAudioModification *audioModification)
 Called after the audio modification's properties are updated.
 
virtual void didUpdateAudioModificationContent (ARAAudioModification *audioModification, ARAContentUpdateScopes scopeFlags)
 Called when the audio modification's content (i.e.
 
virtual void willDeactivateAudioModificationForUndoHistory (ARAAudioModification *audioModification, bool deactivate)
 Called before an audio modification is activated or deactivated when being removed / added from the host's undo history.
 
virtual void didDeactivateAudioModificationForUndoHistory (ARAAudioModification *audioModification, bool deactivate)
 Called after an audio modification is activated or deactivated when being removed / added from the host's undo history.
 
virtual void didAddPlaybackRegionToAudioModification (ARAAudioModification *audioModification, ARAPlaybackRegion *playbackRegion)
 Called after a playback region is added to the audio modification.
 
virtual void willRemovePlaybackRegionFromAudioModification (ARAAudioModification *audioModification, ARAPlaybackRegion *playbackRegion)
 Called before a playback region is removed from the audio modification.
 
virtual void willDestroyAudioModification (ARAAudioModification *audioModification)
 Called before the audio modification is destroyed.
 

Detailed Description

A base class for listeners that want to know about changes to an ARAAudioModification object.

Use ARAAudioModification::addListener() to register your listener with an ARAAudioModification.

Constructor & Destructor Documentation

◆ ~ARAAudioModificationListener()

virtual ARAAudioModificationListener::~ARAAudioModificationListener ( )
virtualdefault

Destructor.

Member Function Documentation

◆ willUpdateAudioModificationProperties()

virtual void ARAAudioModificationListener::willUpdateAudioModificationProperties ( ARAAudioModification * audioModification,
ARA::PlugIn::PropertiesPtr< ARA::ARAAudioModificationProperties > newProperties )
virtual

Called before the audio modification's properties are updated.

Parameters
audioModificationThe audio modification whose properties will be updated.
newPropertiesThe audio modification properties that will be assigned to audioModification.

◆ didUpdateAudioModificationProperties()

virtual void ARAAudioModificationListener::didUpdateAudioModificationProperties ( ARAAudioModification * audioModification)
virtual

Called after the audio modification's properties are updated.

Parameters
audioModificationThe audio modification whose properties were updated.

◆ didUpdateAudioModificationContent()

virtual void ARAAudioModificationListener::didUpdateAudioModificationContent ( ARAAudioModification * audioModification,
ARAContentUpdateScopes scopeFlags )
virtual

Called when the audio modification's content (i.e.

samples or notes) changes.

Parameters
audioModificationThe audio modification with updated content.
scopeFlagsThe scope of the content update.

◆ willDeactivateAudioModificationForUndoHistory()

virtual void ARAAudioModificationListener::willDeactivateAudioModificationForUndoHistory ( ARAAudioModification * audioModification,
bool deactivate )
virtual

Called before an audio modification is activated or deactivated when being removed / added from the host's undo history.

Parameters
audioModificationThe audio modification that was activated or deactivated
deactivateA bool indicating whether audioModification was deactivated or activated.

◆ didDeactivateAudioModificationForUndoHistory()

virtual void ARAAudioModificationListener::didDeactivateAudioModificationForUndoHistory ( ARAAudioModification * audioModification,
bool deactivate )
virtual

Called after an audio modification is activated or deactivated when being removed / added from the host's undo history.

Parameters
audioModificationThe audio modification that was activated or deactivated
deactivateA bool indicating whether audioModification was deactivated or activated.

◆ didAddPlaybackRegionToAudioModification()

virtual void ARAAudioModificationListener::didAddPlaybackRegionToAudioModification ( ARAAudioModification * audioModification,
ARAPlaybackRegion * playbackRegion )
virtual

Called after a playback region is added to the audio modification.

Parameters
audioModificationThe audio modification that playbackRegion was added to.
playbackRegionThe playback region that was added to audioModification.

◆ willRemovePlaybackRegionFromAudioModification()

virtual void ARAAudioModificationListener::willRemovePlaybackRegionFromAudioModification ( ARAAudioModification * audioModification,
ARAPlaybackRegion * playbackRegion )
virtual

Called before a playback region is removed from the audio modification.

Parameters
audioModificationThe audio modification that playbackRegion will be removed from.
playbackRegionThe playback region that will be removed from audioModification.

◆ willDestroyAudioModification()

virtual void ARAAudioModificationListener::willDestroyAudioModification ( ARAAudioModification * audioModification)
virtual

Called before the audio modification is destroyed.

Parameters
audioModificationThe audio modification that will be destroyed.

The documentation for this class was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram