Browse Source
Merge pull request #5863 from ogniK5377/disable-reverb
audren: Disable reverb for the time being
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
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)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|