Commit b5af46f4 authored by michael's avatar michael

simplify


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12855 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 70645202
...@@ -119,9 +119,8 @@ static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float * ...@@ -119,9 +119,8 @@ static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float *
bot = 0; bot = 0;
top = NELLY_BUF_LEN-1; top = NELLY_BUF_LEN-1;
while (bot < NELLY_BUF_LEN/2) { while (bot < NELLY_BUF_LEN) {
audio[bot] = ( a_in[bot]*sine_window[bot]+state[bot]*sine_window[top])/s->scale_bias + s->add_bias; audio[bot] = ( a_in[bot]*sine_window[bot]+state[bot]*sine_window[top])/s->scale_bias + s->add_bias;
audio[top] = ( a_in[top]*sine_window[top]+state[top]*sine_window[bot])/s->scale_bias + s->add_bias;
bot++; bot++;
top--; top--;
......
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