aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/winmm.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-20 19:59:47 -0700
committerChris Robinson <[email protected]>2011-07-20 19:59:47 -0700
commitb889823b2164c652560485dc66dd913b85e0c297 (patch)
tree12a04ae93f224c940c051c2dcc5afb6f46fb3193 /Alc/winmm.c
parent9723c553b67d2113d17881d77ec2c2d44b818238 (diff)
Set real-time priority for the WaveOut backend
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r--Alc/winmm.c2
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)