summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2021-02-01 04:41:58 +0100
committerChloe Marcec <dmarcecguzman@gmail.com>2021-02-01 04:41:58 +0100
commit9fc7f60b9420b3c7cd111d277093cadd3fced9d3 (patch)
tree5c0cc889536737061628a30b3afd30fbf9a74838 /src
parentMerge pull request #5858 from Morph1984/IsGamePlayRecordingSupported-stub (diff)
downloadyuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.tar
yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.tar.gz
yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.tar.bz2
yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.tar.lz
yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.tar.xz
yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.tar.zst
yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.zip
Diffstat (limited to '')
-rw-r--r--src/audio_core/command_generator.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audio_core/command_generator.cpp b/src/audio_core/command_generator.cpp
index a4a9a757d..5b1065520 100644
--- a/src/audio_core/command_generator.cpp
+++ b/src/audio_core/command_generator.cpp
@@ -383,11 +383,14 @@ void CommandGenerator::GenerateI3dl2ReverbEffectCommand(s32 mix_buffer_offset, E
const auto channel_count = params.channel_count;
for (s32 i = 0; i < channel_count; i++) {
// TODO(ogniK): Actually implement reverb
+ /*
if (params.input[i] != params.output[i]) {
const auto* input = GetMixBuffer(mix_buffer_offset + params.input[i]);
auto* output = GetMixBuffer(mix_buffer_offset + params.output[i]);
ApplyMix<1>(output, input, 32768, worker_params.sample_count);
- }
+ }*/
+ auto* output = GetMixBuffer(mix_buffer_offset + params.output[i]);
+ std::memset(output, 0, worker_params.sample_count * sizeof(s32));
}
}