From 1f2da09e89a1d64f03a437d91407fc2a73872937 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 21 Jun 2025 15:07:18 +0200 Subject: [PATCH] oops --- src/fm95.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fm95.c b/src/fm95.c index 4dcf97f..b096ed3 100644 --- a/src/fm95.c +++ b/src/fm95.c @@ -454,10 +454,8 @@ int main(int argc, char **argv) { } mpx *= bs412_audio_gain; - - audio = hard_clip(audio, 1.0f-mpx); // Prevent clipping, via clipping the audio signal with relation to the mpx signal - output[i] = hard_clip((audio+mpx), 1.0f)*master_volume; // Ensure peak deviation of 75 khz, assuming we're calibrated correctly + output[i] = hard_clip(mpx, 1.0f)*master_volume; // Ensure peak deviation of 75 khz, assuming we're calibrated correctly if(rds_on || stereo) advance_oscillator(&osc); }