Hey all,
This is a real quick question, which I know I have seen somewhere on the Juce forum before, but have not been able to find it again now.
Just to preface, I am a fairly new c++ programmer who is looking for some more juce related info on how threads are set up in the basic boiler plate plugin code.
I know that the GUI and and audio processor are run on separate threads with the audioProcessor running on a high priority thread. However, is the high-priority thread running only in the processBlock, or on any of the functions defined in the audio processor.
It is just that I am trying to develop my real-time programming practices, but I am unsure of how the threading in the AudioProcessor works. For instance, am I okay to use a lock from the GUI thread on variables that are not used within the ProcessBlock?
Any information, or just a recommendation for a good resource on the subject would be greatly appreciated!
Thanks