- Timestamp:
- May 28, 2008 7:15:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/third_party/resample/src/resamplesubs.c
r1968 r1969 308 308 Yend = Ystart + (unsigned)(nx * pFactor); 309 309 endTime = time + (1<<Np)*(RES_WORD)nx; 310 while (time < endTime) 310 311 // Integer round down in dtb calculation may cause (endTime % dtb > 0), 312 // so it may cause resample write pass the output buffer (Y >= Yend). 313 // while (time < endTime) 314 while (Y < Yend) 311 315 { 312 316 xp = &X[time>>Np]; /* Ptr to current input sample */
Note: See TracChangeset
for help on using the changeset viewer.