00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00020 #ifndef LIBRESAMPLE_INCLUDED
00021 #define LIBRESAMPLE_INCLUDED
00022
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026
00043 void *resample_open(int highQuality,
00044 double minFactor,
00045 double maxFactor);
00046
00055 void *resample_dup(const void *handle);
00056
00064 int resample_get_filter_width(const void *handle);
00065
00095 int resample_process(void *handle,
00096 double factor,
00097 float *inBuffer,
00098 int inBufferLen,
00099 int lastFlag,
00100 int *inBufferUsed,
00101 float *outBuffer,
00102 int outBufferLen);
00103
00114 void resample_close(void *handle);
00115
00116 #ifdef __cplusplus
00117 }
00118 #endif
00119
00120 #endif