limit the level

This commit is contained in:
2025-03-14 18:41:46 +01:00
parent 2b98c7c3e9
commit 63b8b21743
+1 -1
View File
@@ -23,7 +23,7 @@ void init_rds_objects() {
}
void set_rds_level(float _level) {
level = _level;
level = fminf(1.0f, fmaxf(0.0f, _level));
}
/* Get an RDS sample. This generates the envelope of the waveform using