<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div class="im"><br>
> + if( pf_ptr <= p_sys->pf_delayLineStart + p_sys->i_channels )<br>
> + f_diff = *(p_sys->pf_delayLineEnd + i_chan) - *(pf_ptr +<br>
> i_chan);<br>
> + else<br>
> + f_diff = *( pf_ptr - p_sys->i_channels + i_chan )<br>
> + - *( pf_ptr + i_chan );<br>
</div>> *>>> although it was written to fix linear interpolation, i have still used<br>
> it because it wasn't the cause of noise.*<br>
<div class="im">> + /* Linear Interpolation. */<br>
> + f_temp = *( pf_ptr + i_chan ) + f_diff * f_frac;<br>
> sanitize(&f_temp);<br>
> + *( p_sys->pf_write + i_chan ) = p_in[i_chan] +<br>
> + p_sys->f_feedbackGain * *(pf_ptr + i_chan);<br>
<br>
</div>This needs further checking. Rem?<br>
<br></blockquote><div>I have left the interpolation part as it is.<br>I think i need to understand the concept well before fixing it. will do asap.<br></div></div><br>I have splitted the patches and renamed them.<br clear="all">
<br>-- <br><div>Regards<br>Sukrit Sangwan</div>
<br>