fix hang detection (DirectSound)
This commit is contained in:
parent
5a9402abcd
commit
65cd433ac7
|
@ -2080,8 +2080,8 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
|
||||||
}
|
}
|
||||||
|
|
||||||
//logD("attempts: %d",attempts);
|
//logD("attempts: %d",attempts);
|
||||||
if (attempts>=(int)size) {
|
if (attempts>=(int)(size+10)) {
|
||||||
logE("hang detected! stopping! at %d seconds %d micro",totalSeconds,totalTicks);
|
logE("hang detected! stopping! at %d seconds %d micro (%d>=%d)",totalSeconds,totalTicks,attempts,(int)size);
|
||||||
freelance=false;
|
freelance=false;
|
||||||
playing=false;
|
playing=false;
|
||||||
extValuePresent=false;
|
extValuePresent=false;
|
||||||
|
|
Loading…
Reference in New Issue