fix hang detection (DirectSound)

This commit is contained in:
tildearrow 2023-08-31 04:46:52 -05:00
parent 5a9402abcd
commit 65cd433ac7
1 changed files with 2 additions and 2 deletions

View File

@ -2080,8 +2080,8 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
}
//logD("attempts: %d",attempts);
if (attempts>=(int)size) {
logE("hang detected! stopping! at %d seconds %d micro",totalSeconds,totalTicks);
if (attempts>=(int)(size+10)) {
logE("hang detected! stopping! at %d seconds %d micro (%d>=%d)",totalSeconds,totalTicks,attempts,(int)size);
freelance=false;
playing=false;
extValuePresent=false;