0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

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

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);