summaryrefslogtreecommitdiff
path: root/apps/eq.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-02-23 11:29:10 +0000
committerThom Johansen <thomj@rockbox.org>2006-02-23 11:29:10 +0000
commitfa9c5c06566c143a8d4499d55fa13ec573a9d7bc (patch)
tree54d92a70cbc2795813999151db0ed87c22d890f4 /apps/eq.c
parentc71900c02f90f9dd24836338d2a279fdc51d8091 (diff)
Erronous comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8803 a1c6a512-1295-4272-9138-f99709370657
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.