Does suspendProcessing blocks until active processing is finished?


I've managed it to put the question in the title. ;)
I understand that AudioProcessor::suspendProcessing will block any callback calls, however, I am not sure what happens with current callbacks. Will suspendProcessing block until the current callback is done, if there is any?


yes, because suspendProcessing  uses the callback-Lock to activate the suspend-processing. Its the wrappers reponsibilty to use the lock while the  callback happens and check its suspend-status.



So I can call suspendProcessing in the GUI-Thread and the call (suspendProcessing(true)) will return when no processing is active, right? I have issues understanding things like this with my english skills, which is why I am asking again. :'D 


Yes, that's right!