freebsd-ports/audio/eq10q-lv2/files/patch-dsp_vu.h
Yuri Victorovich 8033efa3fd New port: audio/eq10q-lv2: Parametric equalizer LV2 audio plugin
PR:		222113
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D12846
2017-11-15 08:08:12 +00:00

11 lines
330 B
C

--- dsp/vu.h.orig 2016-12-11 12:07:54 UTC
+++ dsp/vu.h
@@ -49,7 +49,7 @@ static inline void resetVU(Vu *vu)
//Inputs a sample to VU
static inline void SetSample(Vu *vu, float sample)
{
- vu->vu_value = fabsf(sample);
+ vu->vu_value = fabs(sample);
vu->vu_max = vu->vu_value > vu->vu_max ? vu->vu_value : vu->vu_max;
}