A base class for listeners that want to know about changes to an ARAAudioModification object.
More...
#include <juce_ARAModelObjects.h>
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.
◆ ~ARAAudioModificationListener()
virtual ARAAudioModificationListener::~ARAAudioModificationListener |
( |
| ) |
|
|
virtualdefault |
◆ willUpdateAudioModificationProperties()
virtual void ARAAudioModificationListener::willUpdateAudioModificationProperties |
( |
ARAAudioModification * | audioModification, |
|
|
ARA::PlugIn::PropertiesPtr< ARA::ARAAudioModificationProperties > | newProperties ) |
|
virtual |
Called before the audio modification's properties are updated.
- Parameters
-
audioModification | The audio modification whose properties will be updated. |
newProperties | The 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
-
audioModification | The 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
-
audioModification | The audio modification with updated content. |
scopeFlags | The 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
-
audioModification | The audio modification that was activated or deactivated |
deactivate | A 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
-
audioModification | The audio modification that was activated or deactivated |
deactivate | A bool indicating whether audioModification was deactivated or activated. |
◆ didAddPlaybackRegionToAudioModification()
Called after a playback region is added to the audio modification.
- Parameters
-
audioModification | The audio modification that playbackRegion was added to. |
playbackRegion | The playback region that was added to audioModification . |
◆ willRemovePlaybackRegionFromAudioModification()
Called before a playback region is removed from the audio modification.
- Parameters
-
audioModification | The audio modification that playbackRegion will be removed from. |
playbackRegion | The playback region that will be removed from audioModification . |
◆ willDestroyAudioModification()
virtual void ARAAudioModificationListener::willDestroyAudioModification |
( |
ARAAudioModification * | audioModification | ) |
|
|
virtual |
Called before the audio modification is destroyed.
- Parameters
-
audioModification | The audio modification that will be destroyed. |
The documentation for this class was generated from the following file: