mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-08 02:29:40 +08:00
Merge pull request #20 from xddxdd/fix-reverberation
Fix CRevModel process function loop stride
This commit is contained in:
commit
8cc3af5730
@ -120,7 +120,7 @@ void CRevModel::Mute() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CRevModel::ProcessReplace(float *bufL, float *bufR, uint32_t size) {
|
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 outL = 0.0;
|
||||||
float outR = 0.0;
|
float outR = 0.0;
|
||||||
float input = (bufL[idx] + bufR[idx]) * this->gain;
|
float input = (bufL[idx] + bufR[idx]) * this->gain;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user