I am a newbie on JUCE, thus, please forgive me my stupid question:
I am writing an audio app, my MainComponent is derived from AudioAppComponent. I did overwrite getNextAudioBlock() for my audio processing. That works fine. Now I need to update some visual representation in my GUI during the audio processing. Calling repaint() does not work. Well that is logical, because of the different threads.
So far the only solution I found in the turorials is to wait for a timer event. Well, this is not so nice.
So I am wondering, is there any other way to send a signal from the audio thread to the GUI thread that triggers a repaint of the GUI?