summaryrefslogtreecommitdiffstats
path: root/apps/eq.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/eq.c')
-rw-r--r--apps/eq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/eq.c b/apps/eq.c
index 7921028403..eecfc650d9 100644
--- a/apps/eq.c
+++ b/apps/eq.c
@@ -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
at 0.5.
db is s15.16 fixed point and describes gain/attenuation at peak freq.