small optimazations

This commit is contained in:
2025-08-03 20:34:16 +02:00
parent 633d588aa4
commit 345c087fc2
5 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#include "gain_control.h"
void initAGC(AGC* agc, int sampleRate, float targetLevel, float minGain, float maxGain, float attackTime, float releaseTime) {
void initAGC(AGC* agc, uint32_t sampleRate, float targetLevel, float minGain, float maxGain, float attackTime, float releaseTime) {
agc->targetLevel = targetLevel;
agc->minGain = minGain;
agc->maxGain = maxGain;