Commit a8a18f3b authored by sletz's avatar sletz
Browse files

Correct JackDebugClient::TimeCallback

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2417 0c269be4-1314-0410-8aa9-9f06e86f4224
parent d37f95f3
......@@ -423,7 +423,7 @@ int JackDebugClient::TimeCallback(jack_nframes_t nframes, void *arg)
int res = client->fProcessTimeCallback(nframes, client->fProcessTimeCallbackArg);
jack_time_t t2 = GetMicroSeconds();
long delta = long((t2 - t1) - client->GetEngineControl()->fPeriodUsecs);
if (delta > 0)
if (delta > 0 && !client->fFreewheel)
*client->fStream << "!!! ERROR !!! : Process overload of " << delta << " us" << endl;
return res;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment