0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00
This commit is contained in:
2025-03-10 20:49:01 +01:00
parent 50fe064beb
commit 67fe502183

View File

@@ -10,7 +10,7 @@ float apply_preemphasis(ResistorCapacitor *filter, float sample) {
return out;
}
float hard_clip_fast(float sample, float threshold) {
float hard_clip(float sample, float threshold) {
// Branchless clipping
return fmaxf(-threshold, fminf(threshold, sample));
}