kinda change the agc

This commit is contained in:
2025-07-10 20:09:49 +02:00
parent 7956b7d989
commit 4146110e6e
2 changed files with 24 additions and 25 deletions
+2 -1
View File
@@ -15,8 +15,9 @@ typedef struct {
float attackCoef;
float releaseCoef;
float rms_buffer;
float rmsBuffer;
float rmsAlpha;
float rmsBeta;
} AGC;
void initAGC(AGC* agc, int sampleRate, float targetLevel, float minGain, float maxGain, float attackTime, float releaseTime);