0
1
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:
2025-12-30 22:36:08 +01:00
parent 37b2ff7857
commit e2811df7d5

View File

@@ -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;
} }