# HG changeset patch # User michael # Date 1208352575 0 # Node ID 3c4822805c6217aed09fee715efed466fb8ac22b # Parent 075d1d2b49a2c843e8bbac8285139a97517d691f 100l lost add_bias diff -r 075d1d2b49a2 -r 3c4822805c62 nellymoserdec.c --- a/nellymoserdec.c Wed Apr 16 13:28:13 2008 +0000 +++ b/nellymoserdec.c Wed Apr 16 13:29:35 2008 +0000 @@ -121,8 +121,8 @@ top2 = 2*NELLY_BUF_LEN-1; while (bot < NELLY_BUF_LEN/2) { - audio[bot] = (- a_in[bot]*sine_window[bot]-state[bot]*sine_window[top])/s->scale_bias; - audio[top] = (-state[bot]*sine_window[bot]+ a_in[bot]*sine_window[top])/s->scale_bias; + audio[bot] = (- a_in[bot]*sine_window[bot]-state[bot]*sine_window[top])/s->scale_bias + s->add_bias; + audio[top] = (-state[bot]*sine_window[bot]+ a_in[bot]*sine_window[top])/s->scale_bias + s->add_bias; state[bot] = a_in[top2]; bot++;