Implemented SDL_SetThreadPriority()

This commit is contained in:
Sam Lantinga 2011-03-25 10:47:49 -07:00
parent 0b1225e301
commit bca33709c6
12 changed files with 122 additions and 13 deletions

View file

@ -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;