Просмотр исходного кода

Decrease audio thread priority when created

Francisco Javier Trujillo Mata 3 лет назад
Родитель
Сommit
5b4b4fa1ff
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/audio/ps2/SDL_ps2audio.c

+ 1 - 1
src/audio/ps2/SDL_ps2audio.c

@@ -130,7 +130,7 @@ static void PS2AUDIO_ThreadInit(_THIS)
     ee_thread_status_t status;
     thid = GetThreadId();
     if (ReferThreadStatus(GetThreadId(), &status) == 0) {
-        ChangeThreadPriority(thid, status.current_priority);
+        ChangeThreadPriority(thid, status.current_priority - 1);
     }
 }