summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-09-15 15:06:14 +0200
committerLioncash <mathew1800@gmail.com>2022-09-15 15:06:17 +0200
commitd55046c5e97d2dc0a55d175e1101122d646ad540 (patch)
treee17f07f85ba29a883bbb126ca7f42a8801c97ada /src/core/hle/service
parentaudio_device: Make AudioDeviceName constructor constexpr (diff)
downloadyuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.gz
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.bz2
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.lz
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.xz
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.tar.zst
yuzu-d55046c5e97d2dc0a55d175e1101122d646ad540.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/audio/audren_u.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp
index bc69117c6..6fb07c37d 100644
--- a/src/core/hle/service/audio/audren_u.cpp
+++ b/src/core/hle/service/audio/audren_u.cpp
@@ -252,7 +252,7 @@ private:
std::vector<AudioDevice::AudioDeviceName> out_names{};
- u32 out_count = impl->ListAudioDeviceName(out_names, in_count);
+ const u32 out_count = impl->ListAudioDeviceName(out_names, in_count);
std::string out{};
for (u32 i = 0; i < out_count; i++) {
@@ -365,7 +365,7 @@ private:
std::vector<AudioDevice::AudioDeviceName> out_names{};
- u32 out_count = impl->ListAudioOutputDeviceName(out_names, in_count);
+ const u32 out_count = impl->ListAudioOutputDeviceName(out_names, in_count);
std::string out{};
for (u32 i = 0; i < out_count; i++) {