From 44fc5b9f4df801f8051608d813d4b00095b1f7fc Mon Sep 17 00:00:00 2001 From: Paul-Licameli Date: Wed, 8 Apr 2015 11:58:39 -0400 Subject: [PATCH] Bug859 - Play indicator incorrect for very short loop plays (< 15 ms) --- src/AudioIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp index 9fd579009..e9ed18079 100644 --- a/src/AudioIO.cpp +++ b/src/AudioIO.cpp @@ -3888,7 +3888,7 @@ int audacityAudioCallback(const void *inputBuffer, void *outputBuffer, } // Wrap to start if looping - if (gAudioIO->mPlayLooped && gAudioIO->mTime >= gAudioIO->mT1) + while (gAudioIO->mPlayLooped && gAudioIO->mTime >= gAudioIO->mT1) { // LL: This is not exactly right, but I'm at my wits end trying to // figure it out. Feel free to fix it. :-)