Merge pull request #20 from xddxdd/fix-reverberation

Fix CRevModel process function loop stride
This commit is contained in:
Iscle 2024-03-14 13:02:04 +01:00 committed by GitHub
commit 8cc3af5730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;