mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
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.
|
||
|---|---|---|
| .. | ||
| juce_AudioPluginInstance.cpp | ||
| juce_AudioPluginInstance.h | ||
| juce_AudioProcessor.cpp | ||
| juce_AudioProcessor.h | ||
| juce_AudioProcessorEditor.cpp | ||
| juce_AudioProcessorEditor.h | ||
| juce_AudioProcessorGraph.cpp | ||
| juce_AudioProcessorGraph.h | ||
| juce_AudioProcessorListener.h | ||
| juce_AudioProcessorParameter.h | ||
| juce_AudioProcessorParameterGroup.cpp | ||
| juce_AudioProcessorParameterGroup.h | ||
| juce_GenericAudioProcessorEditor.cpp | ||
| juce_GenericAudioProcessorEditor.h | ||
| juce_PluginDescription.cpp | ||
| juce_PluginDescription.h | ||