JUCE icon indicating copy to clipboard operation
JUCE copied to clipboard

AudioProcessorARAExtension: Add support for ARAPlaybackRenderer::Alwa…

Open pierreguillot opened this issue 9 months ago • 0 comments

The prepareToPlay() methods of the juce::ARAPlaybackRenderer and juce::ARAEditorRenderer classes take ARAPlaybackRenderer::AlwaysNonRealtime as an argument, but the juce::AudioProcessorARAExtension::prepareToPlayForARA() method ignores this argument and defaults to false. This PR allows you to control this argument and set it according to juce::AudioProcessor::isNonRealtime() for example. This can be used to decide which type of juce::AudioFormatReader (Buffering or not) to use, for instance.

pierreguillot avatar Feb 03 '25 12:02 pierreguillot