Use real-time priority by default on Windows

It's actually "time-critical", but it seems normal priority doesn't cope as
well when the system is under moderate load.
This commit is contained in:
Chris Robinson
2011-07-23 05:44:55 -07:00
parent 14b359beb0
commit 1b0a55f44c
+4
View File
@@ -560,7 +560,11 @@ static void alc_initconfig(void)
InitHrtf();
#ifdef _WIN32
RTPrioLevel = GetConfigValueInt(NULL, "rt-prio", 1);
#else
RTPrioLevel = GetConfigValueInt(NULL, "rt-prio", 0);
#endif
DefaultResampler = GetConfigValueInt(NULL, "resampler", RESAMPLER_DEFAULT);
if(DefaultResampler >= RESAMPLER_MAX || DefaultResampler <= RESAMPLER_MIN)