summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-17 19:45:24 +0200
committerLioncash <mathew1800@gmail.com>2020-09-17 19:45:24 +0200
commit9539e4d8fd3d4985d524a7a64ec432e4d3bbb2b6 (patch)
tree628cad216bc3dc12d9786e3c548211867641a082
parentnfp: Eliminate two unnecessary copies (diff)
downloadyuzu-9539e4d8fd3d4985d524a7a64ec432e4d3bbb2b6.tar
yuzu-9539e4d8fd3d4985d524a7a64ec432e4d3bbb2b6.tar.gz
yuzu-9539e4d8fd3d4985d524a7a64ec432e4d3bbb2b6.tar.bz2
yuzu-9539e4d8fd3d4985d524a7a64ec432e4d3bbb2b6.tar.lz
yuzu-9539e4d8fd3d4985d524a7a64ec432e4d3bbb2b6.tar.xz
yuzu-9539e4d8fd3d4985d524a7a64ec432e4d3bbb2b6.tar.zst
yuzu-9539e4d8fd3d4985d524a7a64ec432e4d3bbb2b6.zip
Diffstat (limited to '')
-rw-r--r--src/audio_core/command_generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/command_generator.cpp b/src/audio_core/command_generator.cpp
index 84782cde6..7f65511ff 100644
--- a/src/audio_core/command_generator.cpp
+++ b/src/audio_core/command_generator.cpp
@@ -650,7 +650,7 @@ void CommandGenerator::GenerateFinalMixCommand() {
LOG_DEBUG(Audio, "(DSP_TRACE) GenerateFinalMixCommand");
}
auto& mix_info = mix_context.GetFinalMixInfo();
- const auto in_params = mix_info.GetInParams();
+ const auto& in_params = mix_info.GetInParams();
GenerateDepopForMixBuffersCommand(in_params.buffer_count, in_params.buffer_offset,
in_params.sample_rate);