mirror of
https://github.com/encounter/SDL.git
synced 2025-05-29 10:41:36 +00:00
Decrease audio thread priority when created
This commit is contained in:
parent
cf134235d7
commit
5b4b4fa1ff
@ -130,7 +130,7 @@ static void PS2AUDIO_ThreadInit(_THIS)
|
|||||||
ee_thread_status_t status;
|
ee_thread_status_t status;
|
||||||
thid = GetThreadId();
|
thid = GetThreadId();
|
||||||
if (ReferThreadStatus(GetThreadId(), &status) == 0) {
|
if (ReferThreadStatus(GetThreadId(), &status) == 0) {
|
||||||
ChangeThreadPriority(thid, status.current_priority);
|
ChangeThreadPriority(thid, status.current_priority - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user