diff options
Diffstat (limited to 'win32/dsoundout.c')
-rw-r--r-- | win32/dsoundout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/dsoundout.c b/win32/dsoundout.c index 6fda977..0f7ebc4 100644 --- a/win32/dsoundout.c +++ b/win32/dsoundout.c @@ -129,6 +129,7 @@ struct dsound_state *dsound_init(HWND hwnd, unsigned srate, unsigned sectlen, dsound->e_posnotf = CreateEventW(NULL, FALSE, FALSE, L"SNDNOTF"); dsound->t_update = CreateThread(NULL, 0, bufupdatethread, dsound, 0, NULL); + SetThreadPriority(dsound->t_update, THREAD_PRIORITY_HIGHEST); dsound->sectlen = sectlen; dsound->playing = 0; dsound->terminate = 0; |