Skip to content

Commit

Permalink
Merge pull request #20 from xddxdd/fix-reverberation
Browse files Browse the repository at this point in the history
Fix CRevModel process function loop stride
  • Loading branch information
iscle authored Mar 14, 2024
2 parents 175f854 + 958ff60 commit 8cc3af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viper/utils/CRevModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void CRevModel::Mute() {
}

void CRevModel::ProcessReplace(float *bufL, float *bufR, uint32_t size) {
for (uint32_t idx = 0; idx < size; idx++) {
for (uint32_t idx = 0; idx < size * 2; idx += 2) {
float outL = 0.0;
float outR = 0.0;
float input = (bufL[idx] + bufR[idx]) * this->gain;
Expand Down

0 comments on commit 8cc3af5

Please sign in to comment.