<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Need to adjust scale for floating input.
<br>
diff -NaurbB a/libspeex/resample.c b/libspeex/resample.c<br>
--- a/libspeex/resample.c 2013-12-20 17:40:27.326576921 +0500<br>
+++ b/libspeex/resample.c 2013-12-20 17:40:16.918577087 +0500<br>
@@ -915,7 +915,7 @@<br>
if (in) {<br>
for(j=0;j<ichunk;++j)<br>
#ifdef FIXED_POINT<br>
- x[j+st->filt_len-1]=WORD2INT(in[j*istride_save]);<br>
+ x[j+st->filt_len-1]=WORD2INT(32768.*in[j*istride_save]);<br>
#else<br>
x[j+st->filt_len-1]=in[j*istride_save];<br>
#endif<br>
<br>
</div>
</body>
</html>