summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-10-27 14:10:24 +0200
committerGitHub <noreply@github.com>2022-10-27 14:10:24 +0200
commit86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff (patch)
treed2fc37f339365c303b143fee0a60cac935d32a70 /src/core
parentMerge pull request #9125 from liamwhite/dummy-scheduler (diff)
parentaudio_in/out_system: Pass Initialize members by value where applicable (diff)
downloadyuzu-86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff.tar
yuzu-86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff.tar.gz
yuzu-86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff.tar.bz2
yuzu-86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff.tar.lz
yuzu-86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff.tar.xz
yuzu-86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff.tar.zst
yuzu-86a3a0b1b426c4024df8b7a0f9ac1a26cb3b07ff.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/audio/audin_u.cpp2
-rw-r--r--src/core/hle/service/audio/audout_u.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audin_u.cpp b/src/core/hle/service/audio/audin_u.cpp
index 48a9a73a0..608925dfc 100644
--- a/src/core/hle/service/audio/audin_u.cpp
+++ b/src/core/hle/service/audio/audin_u.cpp
@@ -17,7 +17,7 @@ using namespace AudioCore::AudioIn;
class IAudioIn final : public ServiceFramework<IAudioIn> {
public:
explicit IAudioIn(Core::System& system_, Manager& manager, size_t session_id,
- std::string& device_name, const AudioInParameter& in_params, u32 handle,
+ const std::string& device_name, const AudioInParameter& in_params, u32 handle,
u64 applet_resource_user_id)
: ServiceFramework{system_, "IAudioIn"},
service_context{system_, "IAudioIn"}, event{service_context.CreateEvent("AudioInEvent")},
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index 49c092301..122290c6a 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -24,7 +24,7 @@ using namespace AudioCore::AudioOut;
class IAudioOut final : public ServiceFramework<IAudioOut> {
public:
explicit IAudioOut(Core::System& system_, AudioCore::AudioOut::Manager& manager,
- size_t session_id, std::string& device_name,
+ size_t session_id, const std::string& device_name,
const AudioOutParameter& in_params, u32 handle, u64 applet_resource_user_id)
: ServiceFramework{system_, "IAudioOut", ServiceThreadType::CreateNew},
service_context{system_, "IAudioOut"}, event{service_context.CreateEvent(