diff options
author | bunnei <bunneidev@gmail.com> | 2021-02-04 03:05:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 03:05:54 +0100 |
commit | cde532cc52656c0ba1529363eff8bc3bf7d30b94 (patch) | |
tree | 05ff8b81bcb68920cb8119c8295967fa3e9a3db7 | |
parent | Merge pull request #5848 from ogniK5377/k-resourcelimit (diff) | |
parent | audren: Disable reverb for the time being (diff) | |
download | yuzu-cde532cc52656c0ba1529363eff8bc3bf7d30b94.tar yuzu-cde532cc52656c0ba1529363eff8bc3bf7d30b94.tar.gz yuzu-cde532cc52656c0ba1529363eff8bc3bf7d30b94.tar.bz2 yuzu-cde532cc52656c0ba1529363eff8bc3bf7d30b94.tar.lz yuzu-cde532cc52656c0ba1529363eff8bc3bf7d30b94.tar.xz yuzu-cde532cc52656c0ba1529363eff8bc3bf7d30b94.tar.zst yuzu-cde532cc52656c0ba1529363eff8bc3bf7d30b94.zip |
-rw-r--r-- | src/audio_core/command_generator.cpp | 5 |
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)); } } |