Diffstat (limited to 'apps/eq.c')
1 files changed, 2 insertions, 2 deletions
@@ -130,8 +130,8 @@ static long dbtoA(long db)
/* Calculate second order section peaking filter coefficients.
- cutoff is a value from 0 to 0xffffffff, where 0 represents 0 hz and
- 0xffffffff represents nyquist (samplerate/2).
+ cutoff is a value from 0 to 0x80000000, where 0 represents 0 hz and
+ 0x80000000 represents nyquist (samplerate/2).
Q is an unsigned 16.16 fixed point number, lower bound is artificially set
db is s15.16 fixed point and describes gain/attenuation at peak freq.