mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
remove bs412 +.1 limiter
This commit is contained in:
@@ -57,7 +57,5 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
|
|||||||
|
|
||||||
mpx->gain = fmaxf(0.0f, fminf(mpx->max, mpx->gain));
|
mpx->gain = fmaxf(0.0f, fminf(mpx->max, mpx->gain));
|
||||||
|
|
||||||
float final_limit = fminf(1.0f, dbr_to_deviation(mpx->target + 0.1f) / mpx->mpx_deviation);
|
return sample * mpx->gain;
|
||||||
|
}
|
||||||
return fmaxf(-final_limit, fminf(final_limit, sample * mpx->gain));
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user