<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&nbsp;&nbsp;&nbsp; 2013-12-20 17:40:27.326576921 &#43;0500<br>
&#43;&#43;&#43; b/libspeex/resample.c&nbsp;&nbsp;&nbsp; 2013-12-20 17:40:16.918577087 &#43;0500<br>
@@ -915,7 &#43;915,7 @@<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (in) {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for(j=0;j&lt;ichunk;&#43;&#43;j)<br>
&nbsp;#ifdef FIXED_POINT<br>
-&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; x[j&#43;st-&gt;filt_len-1]=WORD2INT(in[j*istride_save]);<br>
&#43;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; x[j&#43;st-&gt;filt_len-1]=WORD2INT(32768.*in[j*istride_save]);<br>
&nbsp;#else<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x[j&#43;st-&gt;filt_len-1]=in[j*istride_save];<br>
&nbsp;#endif<br>
<br>
</div>
</body>
</html>