summaryrefslogtreecommitdiffstats
path: root/src/audio_core/out
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-10-26 17:15:25 +0200
committerLioncash <mathew1800@gmail.com>2022-10-26 17:21:48 +0200
commite0ec9ffc36892319a5cd847dfd42f6aba4671685 (patch)
tree4ac642ac27c90349d85e46bf84739b508bf9a909 /src/audio_core/out
parentMerge pull request #9131 from Morph1984/contiguous (diff)
downloadyuzu-e0ec9ffc36892319a5cd847dfd42f6aba4671685.tar
yuzu-e0ec9ffc36892319a5cd847dfd42f6aba4671685.tar.gz
yuzu-e0ec9ffc36892319a5cd847dfd42f6aba4671685.tar.bz2
yuzu-e0ec9ffc36892319a5cd847dfd42f6aba4671685.tar.lz
yuzu-e0ec9ffc36892319a5cd847dfd42f6aba4671685.tar.xz
yuzu-e0ec9ffc36892319a5cd847dfd42f6aba4671685.tar.zst
yuzu-e0ec9ffc36892319a5cd847dfd42f6aba4671685.zip
Diffstat (limited to 'src/audio_core/out')
-rw-r--r--src/audio_core/out/audio_out_system.cpp4
-rw-r--r--src/audio_core/out/audio_out_system.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/out/audio_out_system.cpp b/src/audio_core/out/audio_out_system.cpp
index 48a801923..a66208ed9 100644
--- a/src/audio_core/out/audio_out_system.cpp
+++ b/src/audio_core/out/audio_out_system.cpp
@@ -49,8 +49,8 @@ Result System::IsConfigValid(std::string_view device_name,
return Service::Audio::ERR_INVALID_CHANNEL_COUNT;
}
-Result System::Initialize(std::string& device_name, const AudioOutParameter& in_params, u32 handle_,
- u64& applet_resource_user_id_) {
+Result System::Initialize(std::string device_name, const AudioOutParameter& in_params, u32 handle_,
+ u64 applet_resource_user_id_) {
auto result = IsConfigValid(device_name, in_params);
if (result.IsError()) {
return result;
diff --git a/src/audio_core/out/audio_out_system.h b/src/audio_core/out/audio_out_system.h
index 0817b2f37..b95cb91be 100644
--- a/src/audio_core/out/audio_out_system.h
+++ b/src/audio_core/out/audio_out_system.h
@@ -88,8 +88,8 @@ public:
* @param applet_resource_user_id - Unused.
* @return Result code.
*/
- Result Initialize(std::string& device_name, const AudioOutParameter& in_params, u32 handle,
- u64& applet_resource_user_id);
+ Result Initialize(std::string device_name, const AudioOutParameter& in_params, u32 handle,
+ u64 applet_resource_user_id);
/**
* Start this system.