audio_core: Move to audout_u impl.

- This is necessary so streams are created on the same thread.
This commit is contained in:
bunnei 2018-07-28 13:27:59 -04:00
parent 5f59815f39
commit eaf66b4c9f
4 changed files with 6 additions and 13 deletions

View file

@ -177,7 +177,6 @@ System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) {
}
gpu_core = std::make_unique<Tegra::GPU>();
audio_core = std::make_unique<AudioCore::AudioOut>();
telemetry_session = std::make_unique<Core::TelemetrySession>();
service_manager = std::make_shared<Service::SM::ServiceManager>();
@ -229,7 +228,6 @@ void System::Shutdown() {
service_manager.reset();
telemetry_session.reset();
gpu_core.reset();
audio_core.reset();
// Close all CPU/threading state
cpu_barrier->NotifyEnd();