0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

return the actually fucking clipped sample (facepalm moment)

This commit is contained in:
2025-08-03 16:16:54 +02:00
parent 07017aacd8
commit 56117c1933

View File

@@ -70,5 +70,5 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
float limit_threshold = dbr_to_deviation(mpx->target + 0.1f) / mpx->mpx_deviation;
output_sample = soft_clip_tanh(output_sample, limit_threshold);
return sample * mpx->gain;
return output_sample;
}