From 88f059fcf1f9a1ce2fabc509600cfd4cc604bad2 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Thu, 24 Dec 2020 15:23:33 -0500 Subject: [PATCH] dropQuickly branch always consumes just as many samples as the other --- src/AudioIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp index 8092a9e42..477eeaf88 100644 --- a/src/AudioIO.cpp +++ b/src/AudioIO.cpp @@ -3933,7 +3933,7 @@ bool AudioIoCallback::FillOutputBuffers( if (dropQuickly) { - len = mPlaybackBuffers[t]->Discard(framesPerBuffer); + len = mPlaybackBuffers[t]->Discard(toGet); // keep going here. // we may still need to issue a paComplete. }