Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/speexdsp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2006-04-13 12:29:56 +0400
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2006-04-13 12:29:56 +0400
commit44d6294e900b028e4f60776163f055c671f93cab (patch)
tree4b6cb71b72eb1d59404fd1bf36d4a6bf9c4e866d /libspeex/nb_celp.c
parent74af46792d524f4739dc5c14a285b5895e5bec85 (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.c3
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 */