Extension class meant to be subclassed by the plugin's implementation of.
More...
Inherits ARA::PlugIn::PlugInExtension.
|
| AudioProcessorARAExtension ()=default |
|
template<typename PlaybackRenderer_t = ARAPlaybackRenderer> |
PlaybackRenderer_t * | getPlaybackRenderer () const noexcept |
| Returns the result of ARA::PlugIn::PlugInExtension::getPlaybackRenderer() with the pointer cast to ARAPlaybackRenderer*.
|
|
template<typename EditorRenderer_t = ARAEditorRenderer> |
EditorRenderer_t * | getEditorRenderer () const noexcept |
| Returns the result of ARA::PlugIn::PlugInExtension::getEditorRenderer() with the pointer cast to ARAEditorRenderer*.
|
|
template<typename EditorView_t = ARAEditorView> |
EditorView_t * | getEditorView () const noexcept |
| Returns the result of ARA::PlugIn::PlugInExtension::getEditorView() with the pointer cast to ARAEditorView*.
|
|
bool | isPlaybackRenderer () const noexcept |
| Returns true if plugin instance fulfills the ARAPlaybackRenderer role.
|
|
bool | isEditorRenderer () const noexcept |
| Returns true if plugin instance fulfills the ARAEditorRenderer role.
|
|
bool | isEditorView () const noexcept |
| Returns true if plugin instance fulfills the ARAEditorView role.
|
|
Extension class meant to be subclassed by the plugin's implementation of.
- See also
- AudioProcessor.
Subclassing AudioProcessorARAExtension allows access to the three possible plugin instance roles as defined by the ARA SDK. Hosts can assign any subset of roles to each plugin instance.
◆ AudioProcessorARAExtension()
AudioProcessorARAExtension::AudioProcessorARAExtension |
( |
| ) |
|
|
default |
◆ getPlaybackRenderer()
template<typename PlaybackRenderer_t = ARAPlaybackRenderer>
PlaybackRenderer_t * AudioProcessorARAExtension::getPlaybackRenderer |
( |
| ) |
const |
|
noexcept |
◆ getEditorRenderer()
template<typename EditorRenderer_t = ARAEditorRenderer>
EditorRenderer_t * AudioProcessorARAExtension::getEditorRenderer |
( |
| ) |
const |
|
noexcept |
◆ getEditorView()
template<typename EditorView_t = ARAEditorView>
EditorView_t * AudioProcessorARAExtension::getEditorView |
( |
| ) |
const |
|
noexcept |
◆ isPlaybackRenderer()
bool AudioProcessorARAExtension::isPlaybackRenderer |
( |
| ) |
const |
|
noexcept |
◆ isEditorRenderer()
bool AudioProcessorARAExtension::isEditorRenderer |
( |
| ) |
const |
|
noexcept |
◆ isEditorView()
bool AudioProcessorARAExtension::isEditorView |
( |
| ) |
const |
|
noexcept |
◆ getTailLengthSecondsForARA()
bool AudioProcessorARAExtension::getTailLengthSecondsForARA |
( |
double & | tailLength | ) |
const |
|
protected |
Implementation helper for AudioProcessor::getTailLengthSeconds().
If bound to ARA, this traverses the instance roles to retrieve the respective tail time and returns true. Otherwise returns false and leaves tailLength unmodified.
◆ prepareToPlayForARA()
Implementation helper for AudioProcessor::prepareToPlay().
If bound to ARA, this traverses the instance roles to prepare them for play and returns true. Otherwise returns false and does nothing.
◆ releaseResourcesForARA()
bool AudioProcessorARAExtension::releaseResourcesForARA |
( |
| ) |
|
|
protected |
Implementation helper for AudioProcessor::releaseResources().
If bound to ARA, this traverses the instance roles to let them release resources and returns true. Otherwise returns false and does nothing.
◆ processBlockForARA() [1/2]
Implementation helper for AudioProcessor::processBlock().
If bound to ARA, this traverses the instance roles to let them process the block and returns true. Otherwise returns false and does nothing.
Use this overload if your rendering code already has a current positionInfo available.
◆ processBlockForARA() [2/2]
Implementation helper for AudioProcessor::processBlock().
If bound to ARA, this traverses the instance roles to let them process the block and returns true. Otherwise returns false and does nothing.
Use this overload if your rendering code does not have a current positionInfo available.
◆ didBindToARA()
void AudioProcessorARAExtension::didBindToARA |
( |
| ) |
|
|
overrideprotectednoexcept |
Optional hook for derived classes to perform any additional initialization that may be needed.
If overriding this, make sure you call the base class implementation from your override.