Commit b07c33ca authored by Torge Matthies's avatar Torge Matthies Committed by Alexandre Julliard

winepulse.drv: Make timer thread time-critical.

parent 18c12c6d
......@@ -2045,8 +2045,10 @@ static HRESULT WINAPI AudioClient_Start(IAudioClient3 *iface)
This->started = TRUE;
This->just_started = TRUE;
if(!This->timer)
if(!This->timer) {
This->timer = CreateThread(NULL, 0, pulse_timer_cb, This, 0, NULL);
SetThreadPriority(This->timer, THREAD_PRIORITY_TIME_CRITICAL);
}
}
pthread_mutex_unlock(&pulse_lock);
return hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment