Implemented SDL_SetThreadPriority()
This commit is contained in:
parent
0b1225e301
commit
bca33709c6
12 changed files with 122 additions and 13 deletions
|
@ -974,6 +974,7 @@ open_audio_device(const char *devname, int iscapture,
|
|||
SDL_SetError("Couldn't create audio thread");
|
||||
return 0;
|
||||
}
|
||||
SDL_SetThreadPriority(device->thread, SDL_THREAD_PRIORITY_HIGH);
|
||||
}
|
||||
|
||||
return id + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue