summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-28 13:27:59 -0400
committerGravatar bunnei2018-07-30 18:44:16 -0400
commiteaf66b4c9f9517bcb4f417260ad460fca4254bec (patch)
tree9c7333809e56e4ad4e36fd25447afe7c6f51818a /src/core/core.cpp
parentexternals: Add cubeb for audio output. (diff)
downloadyuzu-eaf66b4c9f9517bcb4f417260ad460fca4254bec.tar.gz
yuzu-eaf66b4c9f9517bcb4f417260ad460fca4254bec.tar.xz
yuzu-eaf66b4c9f9517bcb4f417260ad460fca4254bec.zip
audio_core: Move to audout_u impl.
- This is necessary so streams are created on the same thread.
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 186fa46df..b7f4b4532 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -177,7 +177,6 @@ System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) {
177 } 177 }
178 178
179 gpu_core = std::make_unique<Tegra::GPU>(); 179 gpu_core = std::make_unique<Tegra::GPU>();
180 audio_core = std::make_unique<AudioCore::AudioOut>();
181 telemetry_session = std::make_unique<Core::TelemetrySession>(); 180 telemetry_session = std::make_unique<Core::TelemetrySession>();
182 service_manager = std::make_shared<Service::SM::ServiceManager>(); 181 service_manager = std::make_shared<Service::SM::ServiceManager>();
183 182
@@ -229,7 +228,6 @@ void System::Shutdown() {
229 service_manager.reset(); 228 service_manager.reset();
230 telemetry_session.reset(); 229 telemetry_session.reset();
231 gpu_core.reset(); 230 gpu_core.reset();
232 audio_core.reset();
233 231
234 // Close all CPU/threading state 232 // Close all CPU/threading state
235 cpu_barrier->NotifyEnd(); 233 cpu_barrier->NotifyEnd();