Commit 2ebe9338 authored by Stephane Letz's avatar Stephane Letz
Browse files

Init fCPULoad field.

parent 15950eb1
...@@ -113,6 +113,7 @@ struct SERVER_EXPORT JackEngineControl : public JackShmMem ...@@ -113,6 +113,7 @@ struct SERVER_EXPORT JackEngineControl : public JackShmMem
fMaxUsecs = 0; fMaxUsecs = 0;
ResetRollingUsecs(); ResetRollingUsecs();
strncpy(fServerName, server_name, sizeof(fServerName)); strncpy(fServerName, server_name, sizeof(fServerName));
fCPULoad = 0.f;
fPeriod = 0; fPeriod = 0;
fComputation = 0; fComputation = 0;
fConstraint = 0; fConstraint = 0;
...@@ -120,7 +121,7 @@ struct SERVER_EXPORT JackEngineControl : public JackShmMem ...@@ -120,7 +121,7 @@ struct SERVER_EXPORT JackEngineControl : public JackShmMem
fXrunDelayedUsecs = 0.f; fXrunDelayedUsecs = 0.f;
fClockSource = clock; fClockSource = clock;
fDriverNum = 0; fDriverNum = 0;
} }
~JackEngineControl() ~JackEngineControl()
{} {}
......
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