Main Page | File List | Globals

include/libresample.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 
00003   resample.h
00004 
00005   Real-time library interface by Dominic Mazzoni
00006 
00007   Based on resample-1.7:
00008     http://www-ccrma.stanford.edu/~jos/resample/
00009 
00010   License: LGPL - see the file LICENSE.txt for more information
00011 
00012 **********************************************************************/
00013 
00020 #ifndef LIBRESAMPLE_INCLUDED
00021 #define LIBRESAMPLE_INCLUDED
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif  /* __cplusplus */
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 }               /* extern "C" */
00118 #endif  /* __cplusplus */
00119 
00120 #endif /* LIBRESAMPLE_INCLUDED */

Generated on Thu Aug 20 10:23:57 2009 for libresample by  doxygen 1.3.9.1