Browse Source

Correct priority management for Windows.

tags/v1.9.11-RC1
Stephane Letz 10 years ago
parent
commit
d0679708c9
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      common/JackEngineControl.h

+ 5
- 0
common/JackEngineControl.h View File

@@ -104,7 +104,12 @@ struct SERVER_EXPORT JackEngineControl : public JackShmMem
fRealTime = rt;
fSavedRealTime = false;
fServerPriority = priority;
#ifdef WIN32
fClientPriority = (rt) ? priority - 3 : 0;
#else
fClientPriority = (rt) ? priority - 5 : 0;
#endif
fMaxClientPriority = (rt) ? priority - 1 : 0;
fVerbose = verbose;
fPrevCycleTime = 0;


Loading…
Cancel
Save