From 8bc7d1c4247bdfaad94e209429849455ecc96d25 Mon Sep 17 00:00:00 2001 From: heck Date: Sun, 6 Oct 2024 13:14:17 +0200 Subject: [PATCH] Fix: bug - audio trashy as fuck --- src/main_osp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_osp.cc b/src/main_osp.cc index cc38cdd..d4ac1ea 100644 --- a/src/main_osp.cc +++ b/src/main_osp.cc @@ -91,7 +91,7 @@ namespace Heck { void audio_callback(ld::AudioHandle::InputBuffer in, ld::AudioHandle::OutputBuffer out, size_t size) { float sig_out{}; - for (size_t i = 0; i < size; i += 2) { + for (size_t i = 0; i < size; i++) { for (int i = 0; i < Constants::TRACK_COUNT; i++) { sig_out += tracks[i].nextsample(); }