From 1220c8dba5f3d360ac874c70030ccd91c9899d36 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 28 Aug 2024 15:24:54 +0200 Subject: [PATCH] change uint to int for compatibility --- dynamics/pump.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamics/pump.h b/dynamics/pump.h index 8574b17..2cdc5c6 100644 --- a/dynamics/pump.h +++ b/dynamics/pump.h @@ -49,7 +49,7 @@ public: /* accentuates the filter pumping effect */ void set_filter_exp(float value) { filter_exp = value; } - void process_block(sample** audio, sample** sidechain, uint frames) + void process_block(sample** audio, sample** sidechain, int frames) { // highpass filter coefficients float hp_x = std::exp(-2.0 * M_PI * hp_filter / samplerate); @@ -61,7 +61,7 @@ public: float bst_a0 = 1.0 - bst_x; float bst_b1 = -bst_x; - for (uint i = 0; i < frames; i++) { + for (int i = 0; i < frames; i++) { sample input_l = audio[0][i]; sample input_r = audio[1][i];