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

Commit 7583dbd

Browse files
committed
Fix split cycle
Signed-off-by: falkTX <falktx@falktx.com>
1 parent beccee1 commit 7583dbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PluginDSP.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,13 +436,13 @@ class ReNooicePlugin : public Plugin
436436
// mute output while still capturing audio frames
437437
std::memset(output, 0, framesCycleF);
438438

439-
if (ringBufferOut.getReadableDataSize() / sizeof(float) >= denoiseFrameSize)
439+
if (ringBufferOut.getReadableDataSize() >= denoiseFrameSizeF)
440440
processing = true;
441441
}
442442

443443
offset += framesCycle;
444-
input += offset;
445-
output += offset;
444+
input += framesCycle;
445+
output += framesCycle;
446446
}
447447
}
448448

0 commit comments

Comments
 (0)