0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 11:33:54 +01:00
This commit is contained in:
2025-08-02 18:14:24 +02:00
parent 55981533b8
commit a7a3b49452
4 changed files with 8 additions and 5 deletions

View File

@@ -6,6 +6,7 @@
#include <math.h>
#include <string.h>
#include <stdint.h>
#ifdef BS412_DEBUG
#include "../lib/debug.h"
#endif
@@ -14,7 +15,7 @@ typedef struct
{
int mpx_deviation;
int average_counter;
int sample_rate;
uint32_t sample_rate;
float target;
float attack;
float release;

View File

@@ -1,5 +1,6 @@
#pragma once
#include <math.h>
#include <stdint.h>
typedef struct {
float targetLevel;
@@ -11,7 +12,7 @@ typedef struct {
float currentGain;
float currentLevel;
int sampleRate;
uint32_t sampleRate;
float attackCoef;
float releaseCoef;