Merge pull request #6561 from SachinVin/audio

audio_core/hle: Refactor Binary Pipe data structures
This commit is contained in:
SachinVin 2023-05-30 19:02:37 +05:30 committed by GitHub
commit a1d265325a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 647 additions and 291 deletions

View file

@ -400,10 +400,10 @@ System::ResultStatus System::Init(Frontend::EmuWindow& emu_window,
const auto audio_emulation = Settings::values.audio_emulation.GetValue();
if (audio_emulation == Settings::AudioEmulation::HLE) {
dsp_core = std::make_unique<AudioCore::DspHle>(*memory);
dsp_core = std::make_unique<AudioCore::DspHle>(*memory, *timing);
} else {
const bool multithread = audio_emulation == Settings::AudioEmulation::LLEMultithreaded;
dsp_core = std::make_unique<AudioCore::DspLle>(*memory, multithread);
dsp_core = std::make_unique<AudioCore::DspLle>(*memory, *timing, multithread);
}
memory->SetDSP(*dsp_core);