aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/audio_out_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_core/audio_out_manager.cpp')
-rw-r--r--src/audio_core/audio_out_manager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/audio_core/audio_out_manager.cpp b/src/audio_core/audio_out_manager.cpp
index 316ea7c817..569df8d1e0 100644
--- a/src/audio_core/audio_out_manager.cpp
+++ b/src/audio_core/audio_out_manager.cpp
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
@@ -40,8 +43,7 @@ void Manager::ReleaseSessionId(const size_t session_id) {
Result Manager::LinkToManager() {
std::scoped_lock l{mutex};
if (!linked_to_manager) {
- AudioManager& manager{system.AudioCore().GetAudioManager()};
- manager.SetOutManager(std::bind(&Manager::BufferReleaseAndRegister, this));
+ system.AudioCore().GetAudioManager().SetOutManager(std::bind(&Manager::BufferReleaseAndRegister, this));
linked_to_manager = true;
}