diff options
| author | 2021-02-01 14:41:58 +1100 | |
|---|---|---|
| committer | 2021-02-01 14:41:58 +1100 | |
| commit | 9fc7f60b9420b3c7cd111d277093cadd3fced9d3 (patch) | |
| tree | 5c0cc889536737061628a30b3afd30fbf9a74838 /src | |
| parent | Merge pull request #5858 from Morph1984/IsGamePlayRecordingSupported-stub (diff) | |
| download | yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.tar.gz yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.tar.xz yuzu-9fc7f60b9420b3c7cd111d277093cadd3fced9d3.zip | |
audren: Disable reverb for the time being
As this is causing issues in a few games, it's best to have it disabled until it's completely implemented
Diffstat (limited to 'src')
| -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 | |||
| 383 | const auto channel_count = params.channel_count; | 383 | const auto channel_count = params.channel_count; |
| 384 | for (s32 i = 0; i < channel_count; i++) { | 384 | for (s32 i = 0; i < channel_count; i++) { |
| 385 | // TODO(ogniK): Actually implement reverb | 385 | // TODO(ogniK): Actually implement reverb |
| 386 | /* | ||
| 386 | if (params.input[i] != params.output[i]) { | 387 | if (params.input[i] != params.output[i]) { |
| 387 | const auto* input = GetMixBuffer(mix_buffer_offset + params.input[i]); | 388 | const auto* input = GetMixBuffer(mix_buffer_offset + params.input[i]); |
| 388 | auto* output = GetMixBuffer(mix_buffer_offset + params.output[i]); | 389 | auto* output = GetMixBuffer(mix_buffer_offset + params.output[i]); |
| 389 | ApplyMix<1>(output, input, 32768, worker_params.sample_count); | 390 | ApplyMix<1>(output, input, 32768, worker_params.sample_count); |
| 390 | } | 391 | }*/ |
| 392 | auto* output = GetMixBuffer(mix_buffer_offset + params.output[i]); | ||
| 393 | std::memset(output, 0, worker_params.sample_count * sizeof(s32)); | ||
| 391 | } | 394 | } |
| 392 | } | 395 | } |
| 393 | 396 | ||