mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-30 08:19:14 +02:00
clip bs412 and make it simpler to understand, both by me and the compiler
This commit is contained in:
+3
-2
@@ -11,6 +11,7 @@
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int mpx_deviation;
|
||||
int sample_counter;
|
||||
int sample_rate;
|
||||
float target;
|
||||
@@ -23,5 +24,5 @@ typedef struct
|
||||
float dbr_to_deviation(float dbr);
|
||||
float deviation_to_dbr(float deviation);
|
||||
|
||||
void init_bs412(BS412Compressor *mpx, float target_power, float attack, float release, int sample_rate);
|
||||
float bs412_compress(BS412Compressor *mpx, float deviation);
|
||||
void init_bs412(BS412Compressor *mpx, float mpx_deviation, float target_power, float attack, float release, int sample_rate);
|
||||
float bs412_compress(BS412Compressor *mpx, float sample);
|
||||
Reference in New Issue
Block a user