mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
at the start it blasts volume, after the minute of tuning in
This commit is contained in:
@@ -64,6 +64,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
|
|||||||
#ifdef BS412_DEBUG
|
#ifdef BS412_DEBUG
|
||||||
debug_printf("Can compress.\n");
|
debug_printf("Can compress.\n");
|
||||||
#endif
|
#endif
|
||||||
|
mpx->gain = powf(10.0f, (mpx->target - modulation_power) / 10.0f);
|
||||||
mpx->can_compress = 1;
|
mpx->can_compress = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user