diff --git a/Audio/Chain/DSP/DSPRubberbandNode.m b/Audio/Chain/DSP/DSPRubberbandNode.m index 648dcf1de..fce091862 100644 --- a/Audio/Chain/DSP/DSPRubberbandNode.m +++ b/Audio/Chain/DSP/DSPRubberbandNode.m @@ -363,6 +363,7 @@ static void * kDSPRubberbandNodeContext = &kDSPRubberbandNodeContext; - (void)setEndOfStream:(BOOL)e { if(endOfStream && !e) { + while(processEntered); [self fullShutdown]; } [super setEndOfStream:e];