1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

fixed a small problem when mac plugins are opened and closed quickly by the host

This commit is contained in:
jules 2008-12-16 21:08:01 +00:00
parent 19f99e6c5c
commit 56c2fcf071
6 changed files with 54 additions and 5 deletions

View file

@ -276,6 +276,10 @@ public:
filter will return an empty buffer, but won't block the audio thread like it would
do if you use the getCallbackLock() critical section to synchronise access.
If you're going to use this, your processBlock() method must call isSuspended() and
check whether it's suspended or not. If it is, then it should skip doing any real
processing, either emitting silence or passing the input through unchanged.
@see getCallbackLock
*/
void suspendProcessing (const bool shouldBeSuspended);