From 6149c1d54e22b1c0c94f36e67584d3f7af76a5af Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 11 Mar 2025 17:27:02 +0100 Subject: [PATCH] that's weird --- src/modulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modulator.c b/src/modulator.c index f83d85b..bcdd7d0 100644 --- a/src/modulator.c +++ b/src/modulator.c @@ -79,5 +79,5 @@ float get_rds_sample() { rds->sample_buffer[rds->out_sample_index++] = 0; if (rds->out_sample_index == SAMPLE_BUFFER_SIZE) rds->out_sample_index = 0; - return fminf(1.0f, fmaxf(-1.0f, sample)); + return sample; }