mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-30 16:29:15 +02:00
fix
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ void init_bs412(BS412Compressor* mpx, uint32_t mpx_deviation, float target_power
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
inline float soft_clip_tanh(float sample, float threshold) {
|
static inline float soft_clip_tanh(float sample, float threshold) {
|
||||||
if (fabsf(sample) <= threshold) {
|
if (fabsf(sample) <= threshold) {
|
||||||
return sample; // Linear region
|
return sample; // Linear region
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user