[audio_core, hle/services, video_core/compute] Inline std::unique_ptr<> allocs into std::optional<>

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-03-04 20:31:09 +00:00
committed by crueter
parent 5322bce4b8
commit 5e10da3cac
18 changed files with 92 additions and 166 deletions
+1 -2
View File
@@ -40,8 +40,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;
}