1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-09 04:30:09 +00:00
JUCE/modules/juce_audio_processors/processors
reuk b41951bc4b AudioProcessorGraph: Ensure nodes are prepared with correct precision
Previously, if `AudioProcessorGraph::prepareToPlay` was called twice,
interspersed with calls to `setProcessingPrecision`, the graph would
consider the nodes 'prepared' on the second call, and wouldn't
re-prepare the inner nodes with the new precision setting.

    graph.setProcessingPrecision (juce::AudioProcessor::singlePrecision);
    graph.prepareToPlay (44100, 512);

    graph.setProcessingPrecision (juce::AudioProcessor::doublePrecision);
    graph.prepareToPlay (44100, 512); // this wouldn't update the nodes

Now, we always explicitly unprepare all nodes at the beginning of
prepareToPlay, so that they'll always receive the newest settings.
2020-10-23 15:50:47 +01:00
..
juce_AudioPluginInstance.cpp
juce_AudioPluginInstance.h
juce_AudioProcessor.cpp
juce_AudioProcessor.h
juce_AudioProcessorEditor.cpp
juce_AudioProcessorEditor.h
juce_AudioProcessorGraph.cpp AudioProcessorGraph: Ensure nodes are prepared with correct precision 2020-10-23 15:50:47 +01:00
juce_AudioProcessorGraph.h AudioProcessorGraph: Ensure nodes are prepared with correct precision 2020-10-23 15:50:47 +01:00
juce_AudioProcessorListener.h
juce_AudioProcessorParameter.h
juce_AudioProcessorParameterGroup.cpp
juce_AudioProcessorParameterGroup.h
juce_GenericAudioProcessorEditor.cpp
juce_GenericAudioProcessorEditor.h
juce_PluginDescription.cpp
juce_PluginDescription.h