diff --git a/src/engine/playback.cpp b/src/engine/playback.cpp index 00b1e31f8..3912ebcb3 100644 --- a/src/engine/playback.cpp +++ b/src/engine/playback.cpp @@ -1573,7 +1573,7 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi int attempts=0; int runLeftG=size<=100) { + if (attempts>=(int)size) { logE("hang detected! stopping! at %d seconds %d micro",totalSeconds,totalTicks); freelance=false; playing=false;