resample.h
上传用户:xiejiait
上传日期:2007-01-06
资源大小:881k
文件大小:1k
- /* @(#)resample.h 1.2 99/12/19 Copyright 1998,1999 Heiko Eissfeldt */
- #define SYNC_SIZE 600 /* has to be smaller than CD_FRAMESAMPLES */
- extern int waitforsignal; /* flag: wait for any audio response */
- extern int any_signal;
- extern short undersampling; /* conversion factor */
- extern short samples_to_do; /* loop variable for conversion */
- extern int Halved; /* interpolate due to non integral divider */
- extern int jitterShift; /* track accumulated jitter */
- long SaveBuffer __PR((UINT4 *p,
- unsigned long SecsToDo, unsigned long *BytesDone));
- unsigned char *synchronize __PR((UINT4 *p, unsigned SamplesToDo, unsigned TotSamplesDone));