yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

audio_core/command_generator: Avoid an unnecessary copy in GenerateFinalMixCommand()

This commit is contained in:
Lioncash 2020-09-17 13:45:24 -04:00
parent aca3621146
commit 9539e4d8fd
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ void CommandGenerator::GenerateFinalMixCommand() {
LOG_DEBUG(Audio, "(DSP_TRACE) GenerateFinalMixCommand"); LOG_DEBUG(Audio, "(DSP_TRACE) GenerateFinalMixCommand");
} }
auto& mix_info = mix_context.GetFinalMixInfo(); 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, GenerateDepopForMixBuffersCommand(in_params.buffer_count, in_params.buffer_offset,
in_params.sample_rate); in_params.sample_rate);