Skip to content
This repository was archived by the owner on Nov 8, 2025. It is now read-only.

Commit af6aacd

Browse files
committed
Fix previous commit
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 224f3f1 commit af6aacd

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/PluginDSP.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -457,21 +457,21 @@ class ReNooicePlugin : public Plugin
457457
// disable (bypass on)
458458
else if (d_isNotZero(dryValue.getTargetValue()))
459459
{
460-
// copy processed buffer directly into output
461-
ringBufferOut.readCustomData(output, framesCycleF);
460+
// copy dry buffer directly into output
461+
ringBufferDry.readCustomData(output, framesCycleF);
462462

463-
// retrieve dry buffer (doing nothing with it)
464-
ringBufferDry.readCustomData(bufferOut, framesCycleF);
463+
// retrieve processed buffer (doing nothing with it)
464+
ringBufferOut.readCustomData(bufferOut, framesCycleF);
465465
}
466466
// enabled (bypass off)
467467
else
468468
#endif
469469
{
470-
// copy dry buffer directly into output
471-
ringBufferDry.readCustomData(output, framesCycleF);
470+
// copy processed buffer directly into output
471+
ringBufferOut.readCustomData(output, framesCycleF);
472472

473-
// retrieve processed buffer (doing nothing with it)
474-
ringBufferOut.readCustomData(bufferOut, framesCycleF);
473+
// retrieve dry buffer (doing nothing with it)
474+
ringBufferDry.readCustomData(bufferOut, framesCycleF);
475475
}
476476
}
477477
// capture more audio frames until it fits 1 denoise block

0 commit comments

Comments
 (0)