core: Promote CPU/GPU threads to time critical

And also demote Audren and CoreTiming to High thread priority.
This commit is contained in:
Morph 2023-03-05 22:27:03 -05:00
parent d718eab351
commit 3053a62375
4 changed files with 4 additions and 4 deletions

View file

@ -135,7 +135,7 @@ void AudioRenderer::ThreadFunc() {
static constexpr char name[]{"AudioRenderer"};
MicroProfileOnThreadCreate(name);
Common::SetCurrentThreadName(name);
Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical);
Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
if (mailbox->ADSPWaitMessage() != RenderMessage::AudioRenderer_InitializeOK) {
LOG_ERROR(Service_Audio,
"ADSP Audio Renderer -- Failed to receive initialize message from host!");