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

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

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;