AudioCommon: Initialize before HW

This commit is contained in:
Bonta-kun
2021-03-22 00:06:44 +01:00
parent bc4d0b3ef8
commit 66e39de1ab
4 changed files with 12 additions and 9 deletions

View File

@ -153,6 +153,9 @@ void Init()
s_aid_sample_rate = Get32KHzSampleRate();
event_type_ai = CoreTiming::RegisterEvent("AICallback", Update);
g_sound_stream->GetMixer()->SetDMAInputSampleRate(GetAIDSampleRate());
g_sound_stream->GetMixer()->SetStreamInputSampleRate(GetAISSampleRate());
}
void Shutdown()