summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-20 05:04:25 +0200
committerLioncash <mathew1800@gmail.com>2018-07-20 05:15:00 +0200
commitc20cea118b2f045cd1b057aac766ac8c0c64eb6c (patch)
tree3783288f8e8ab77fb7d9060d60065e27ed091a8f /src/core/hle/service/audio
parentMerge pull request #726 from lioncash/overload (diff)
downloadyuzu-c20cea118b2f045cd1b057aac766ac8c0c64eb6c.tar
yuzu-c20cea118b2f045cd1b057aac766ac8c0c64eb6c.tar.gz
yuzu-c20cea118b2f045cd1b057aac766ac8c0c64eb6c.tar.bz2
yuzu-c20cea118b2f045cd1b057aac766ac8c0c64eb6c.tar.lz
yuzu-c20cea118b2f045cd1b057aac766ac8c0c64eb6c.tar.xz
yuzu-c20cea118b2f045cd1b057aac766ac8c0c64eb6c.tar.zst
yuzu-c20cea118b2f045cd1b057aac766ac8c0c64eb6c.zip
Diffstat (limited to 'src/core/hle/service/audio')
-rw-r--r--src/core/hle/service/audio/audout_u.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index 4217ea4fb..154bc12da 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <array>
#include <vector>
#include "common/logging/log.h"
#include "core/core_timing.h"
@@ -167,7 +168,7 @@ void AudOutU::ListAudioOutsImpl(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_Audio, "(STUBBED) called");
IPC::RequestParser rp{ctx};
- const std::string audio_interface = "AudioInterface";
+ constexpr std::array<char, 15> audio_interface{{"AudioInterface"}};
ctx.WriteBuffer(audio_interface);
IPC::ResponseBuilder rb = rp.MakeBuilder(3, 0, 0);