mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 11:22:00 +01:00
this is asbest as i could make it
This commit is contained in:
@@ -38,7 +38,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
|
|||||||
mpx->average_counter++;
|
mpx->average_counter++;
|
||||||
|
|
||||||
float avg_power = mpx->average / mpx->average_counter;
|
float avg_power = mpx->average / mpx->average_counter;
|
||||||
float avg_deviation = sqrtf(avg_power);
|
float avg_deviation = sqrtf(avg_power) * sqrtf(2);
|
||||||
float modulation_power = deviation_to_dbr(avg_deviation);
|
float modulation_power = deviation_to_dbr(avg_deviation);
|
||||||
|
|
||||||
#ifdef BS412_DEBUG
|
#ifdef BS412_DEBUG
|
||||||
|
|||||||
2
inih
2
inih
Submodule inih updated: 3eda303b34...57188e8acd
Reference in New Issue
Block a user