0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 11:33:54 +01:00
This commit is contained in:
2025-06-21 15:07:18 +02:00
parent 16f0a53c05
commit 1f2da09e89

View File

@@ -455,9 +455,7 @@ int main(int argc, char **argv) {
mpx *= bs412_audio_gain; 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(mpx, 1.0f)*master_volume; // Ensure peak deviation of 75 khz, assuming we're calibrated correctly
output[i] = hard_clip((audio+mpx), 1.0f)*master_volume; // Ensure peak deviation of 75 khz, assuming we're calibrated correctly
if(rds_on || stereo) advance_oscillator(&osc); if(rds_on || stereo) advance_oscillator(&osc);
} }