From ff494b549b2163eed9a60b2d4cc3d1d4d5e8f359 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 15 Jul 2025 20:36:41 +0200 Subject: [PATCH] i fucking hate vscode's suggestions --- filter/bs412.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/bs412.c b/filter/bs412.c index 92d23cc..6474cdd 100644 --- a/filter/bs412.c +++ b/filter/bs412.c @@ -22,7 +22,7 @@ void init_bs412(BS412Compressor* mpx, float mpx_deviation, float target_power, f mpx->gain = 1.0f; mpx->max = max; memset(mpx->lookahead_samples, 0, BS412_LOOKAHEAD); - mpx->lookahead_samples = 0; + mpx->lookahead_counter = 0; #ifdef BS412_DEBUG debug_printf("Initialized MPX power measurement with sample rate: %d\n", sample_rate); #endif