diff options
author | Chris Robinson <[email protected]> | 2011-07-20 19:59:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-20 19:59:47 -0700 |
commit | b889823b2164c652560485dc66dd913b85e0c297 (patch) | |
tree | 12a04ae93f224c940c051c2dcc5afb6f46fb3193 /Alc | |
parent | 9723c553b67d2113d17881d77ec2c2d44b818238 (diff) |
Set real-time priority for the WaveOut backend
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/winmm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c index 900d51db..69c58e13 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -196,6 +196,8 @@ static DWORD WINAPI PlaybackThreadProc(LPVOID lpParameter) FrameSize = FrameSizeFromDevFmt(pDevice->FmtChans, pDevice->FmtType); + SetRTPriority(); + while(GetMessage(&msg, NULL, 0, 0)) { if(msg.message != WOM_DONE || pData->bWaveShutdown) |