From b889823b2164c652560485dc66dd913b85e0c297 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 20 Jul 2011 19:59:47 -0700 Subject: Set real-time priority for the WaveOut backend --- Alc/winmm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc') 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) -- cgit v1.2.3