diff options
author | Chris Robinson <[email protected]> | 2011-07-23 05:44:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-23 05:44:55 -0700 |
commit | 1b0a55f44ccbfb4fb9887fc6377fd634f03098ff (patch) | |
tree | 4aa2295cc40b1e93bf1f6d3ad9790b6eb2b6040d /Alc/ALc.c | |
parent | 14b359beb0f7a25ac98a8e4dc8de560e4258e34e (diff) |
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.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |