I am looking at the juce audio plugin demo and got a bit confused about the
way parameters are sent from the GUI to the processor in a seemingly hazardous way.
As I understand it, the AudioProcessorEditor holds a pointer to the PluginAudioProcessor, so
when a slider is moved it calls the setParameterNotifyingHost() method in the PluginAudioProcessor. But hey, that isn’t thread safe is it? What happens if something in the audio callback uses the parameters while they are being changed?
I’m new to threads so some advice from the pros would be great