Skip to content
Permalink
Browse files

Do not set the Mumble process's priority to High on Windows.

Setting Mumble's priority class higher than the games
is a bad behavior which can cause inconsistency for
input timing in games such as Team Fortress 2.
  • Loading branch information...
SizzlingCalamari authored and mkrautz committed Feb 8, 2015
1 parent 67ed33f commit 445cdf0e10c713d801aa661f50a296da6a5100ed
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/mumble/os_win.cpp
@@ -285,9 +285,6 @@ void os_init() {
if (wcscpy_s(wcCrashDumpPath, PATH_MAX, dump.toStdWString().c_str()) == 0)
SetUnhandledExceptionFilter(MumbleUnhandledExceptionFilter);

// Increase our priority class to live alongside games.
if (!SetPriorityClass(GetCurrentProcess(),HIGH_PRIORITY_CLASS))
qWarning("Application: Failed to set priority!");
#endif

g.qdBasePath.mkpath(QLatin1String("Snapshots"));
@@ -345,4 +342,4 @@ HWND MumbleHWNDForQWidget(QWidget *widget) {
#else
return widget->winId();
#endif
}
}

0 comments on commit 445cdf0

Please sign in to comment.
You can’t perform that action at this time.