Unverified Commit 8cdeac9e authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixing window generation

Initialization was slightly off
parent 01aecb28
......@@ -884,7 +884,7 @@ static void extend_signal(float *x, int before, int after, int channels) {
}
{
/* Generate Window using a resonating IIR aka Goertzel's algorithm. */
float m0=1, m1=1;
float m0=1, m1=.5*LPC_GOERTZEL_CONST;
float a1 = LPC_GOERTZEL_CONST;
window[0] = 1;
for (i=1;i<LPC_PADDING;i++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment