diff options
author | Liam <byteslice@airmail.cc> | 2024-02-21 03:17:59 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-21 04:15:38 +0100 |
commit | c575a85233cfea2e0935a5609e4e13d980a8c28f (patch) | |
tree | ebfb39a093a2042a8d15769532089a83c883d21a /src/core/hle/service/audio/audio_out_manager.cpp | |
parent | audio: rewrite IHardwareOpusDecoderManager (diff) | |
download | yuzu-c575a85233cfea2e0935a5609e4e13d980a8c28f.tar yuzu-c575a85233cfea2e0935a5609e4e13d980a8c28f.tar.gz yuzu-c575a85233cfea2e0935a5609e4e13d980a8c28f.tar.bz2 yuzu-c575a85233cfea2e0935a5609e4e13d980a8c28f.tar.lz yuzu-c575a85233cfea2e0935a5609e4e13d980a8c28f.tar.xz yuzu-c575a85233cfea2e0935a5609e4e13d980a8c28f.tar.zst yuzu-c575a85233cfea2e0935a5609e4e13d980a8c28f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/audio/audio_out_manager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/audio/audio_out_manager.cpp b/src/core/hle/service/audio/audio_out_manager.cpp index 780e1dcda..153445097 100644 --- a/src/core/hle/service/audio/audio_out_manager.cpp +++ b/src/core/hle/service/audio/audio_out_manager.cpp @@ -75,9 +75,7 @@ Result IAudioOutManager::OpenAudioOutAuto( R_TRY(impl->LinkToManager()); R_TRY(impl->AcquireSessionId(new_session_id)); - const auto name_buffer = std::span(reinterpret_cast<const u8*>(name[0].name.data()), 0x100); - const auto device_name = Common::StringFromBuffer(name_buffer); - + const auto device_name = Common::StringFromBuffer(name[0].name); LOG_DEBUG(Service_Audio, "Opening new AudioOut, sessionid={}, free sessions={}", new_session_id, impl->num_free_sessions); |