diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2006-04-13 12:29:56 +0400 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2006-04-13 12:29:56 +0400 |
commit | 44d6294e900b028e4f60776163f055c671f93cab (patch) | |
tree | 4b6cb71b72eb1d59404fd1bf36d4a6bf9c4e866d /libspeex/nb_celp.c | |
parent | 74af46792d524f4739dc5c14a285b5895e5bec85 (diff) |
oops, wasn't scaling the right thing...
git-svn-id: http://svn.xiph.org/trunk/speex@11129 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'libspeex/nb_celp.c')
-rw-r--r-- | libspeex/nb_celp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libspeex/nb_celp.c b/libspeex/nb_celp.c index a2cf1df..d9f2650 100644 --- a/libspeex/nb_celp.c +++ b/libspeex/nb_celp.c @@ -1719,7 +1719,10 @@ int nb_decode(void *state, SpeexBits *bits, void *vout) gain = gain32; #endif for (i=0;i<st->frameSize;i++) + { st->exc[i] = MULT16_32_Q14(gain, st->exc[i]); + out[i]=PSHR32(st->exc[i],SIG_SHIFT); + } } /*Loop on subframes */ |