--- /Users/phil/Downloads/SDL2-2.0.8/src/audio/coreaudio/SDL_coreaudio.m 2018-03-01 09:34:42.000000000 -0700 +++ ./SDL_coreaudio.m 2018-05-04 11:28:52.000000000 -0600 @@ -728,6 +728,10 @@ return 0; } + if (SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH) < 0) { + fprintf(stderr,"SDL_SetThreadPriority failed: %s\n",SDL_GetError()); + } + /* init was successful, alert parent thread and start running... */ SDL_SemPost(this->hidden->ready_semaphore); while (!SDL_AtomicGet(&this->hidden->shutdown)) {