diff --git a/Audio/Chain/Node.m b/Audio/Chain/Node.m index 7315d2dee..354a6a22c 100644 --- a/Audio/Chain/Node.m +++ b/Audio/Chain/Node.m @@ -54,9 +54,8 @@ { if (availOutput) { - // must unlock buffer before waiting, may as well write silence - memset(writePtr, 0, availOutput); - [buffer didWriteLength:availOutput]; + // Unlock the buffer + [buffer didWriteLength:0]; } [semaphore wait]; }