1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +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 Updated all license headers 2020-06-29 08:30:22 +01:00
juce_AudioPluginInstance.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_AudioProcessor.cpp Defined AudioPlayHead::CurrentPositionInfo methods inline 2020-08-12 17:02:57 +01:00
juce_AudioProcessor.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_AudioProcessorEditor.cpp juce6: Update some referenes to JUCE 5 in docstrings 2020-07-01 10:00:43 +01:00
juce_AudioProcessorEditor.h Updated all license headers 2020-06-29 08:30:22 +01:00
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 Updated all license headers 2020-06-29 08:30:22 +01:00
juce_AudioProcessorParameter.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_AudioProcessorParameterGroup.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_AudioProcessorParameterGroup.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_GenericAudioProcessorEditor.cpp Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
juce_GenericAudioProcessorEditor.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_PluginDescription.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_PluginDescription.h Updated all license headers 2020-06-29 08:30:22 +01:00