mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 04:57:54 +00:00
[host] windows: opt into the Multimedia Class Schedule Service
This improves overall application performance as windows will give this process higher priority for low latency multimedia tasks.
This commit is contained in:
parent
92f27cc0f0
commit
443f98d2fa
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
#include <wtsapi32.h>
|
||||
#include <userenv.h>
|
||||
#include <winternl.h>
|
||||
#include <dwmapi.h>
|
||||
|
||||
#include "interface/platform.h"
|
||||
#include "common/debug.h"
|
||||
|
@ -477,6 +478,8 @@ void boostPriority(void)
|
|||
DEBUG_INFO("To fix this, install and run the Looking Glass host as a service.");
|
||||
DEBUG_INFO("looking-glass-host.exe InstallService");
|
||||
}
|
||||
|
||||
DwmEnableMMCSS(true);
|
||||
}
|
||||
|
||||
void CALLBACK exitEventCallback(PVOID opaque, BOOLEAN timedOut)
|
||||
|
|
Loading…
Reference in a new issue