diff options
-rw-r--r-- | apps/eq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -130,8 +130,8 @@ static long dbtoA(long db) | |||
130 | } | 130 | } |
131 | 131 | ||
132 | /* Calculate second order section peaking filter coefficients. | 132 | /* Calculate second order section peaking filter coefficients. |
133 | cutoff is a value from 0 to 0xffffffff, where 0 represents 0 hz and | 133 | cutoff is a value from 0 to 0x80000000, where 0 represents 0 hz and |
134 | 0xffffffff represents nyquist (samplerate/2). | 134 | 0x80000000 represents nyquist (samplerate/2). |
135 | Q is an unsigned 16.16 fixed point number, lower bound is artificially set | 135 | Q is an unsigned 16.16 fixed point number, lower bound is artificially set |
136 | at 0.5. | 136 | at 0.5. |
137 | db is s15.16 fixed point and describes gain/attenuation at peak freq. | 137 | db is s15.16 fixed point and describes gain/attenuation at peak freq. |