bug fix
This commit is contained in:
parent
aedf6202bd
commit
893969da05
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ void CAudioResample::Resample ( CVector<double>& vecdInput,
|
||||||
const int ip = (int) ( j * iI / dRation ) % iI;
|
const int ip = (int) ( j * iI / dRation ) % iI;
|
||||||
|
|
||||||
/* sample position in input vector */
|
/* sample position in input vector */
|
||||||
const int in = (int) ( j / dRation ) + iNumTaps;
|
const int in = (int) ( j / dRation ) + iNumTaps - 1;
|
||||||
|
|
||||||
/* convolution */
|
/* convolution */
|
||||||
double dy = 0.0;
|
double dy = 0.0;
|
||||||
|
|
Loading…
Reference in a new issue