1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

dropQuickly branch always consumes just as many samples as the other

This commit is contained in:
Paul Licameli 2020-12-24 15:23:33 -05:00
parent bf6d94ce57
commit 88f059fcf1

View File

@ -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.
}