mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 11:33:54 +01:00
fix bug
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user