00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #if HAVE_CONFIG_H
00016 # include "SndKitConfig.h"
00017 #endif
00018 #include "SndFormat.h"
00019
00020
00021 #define Nhc 8
00022 #define Na 7
00023 #define Np (Nhc+Na)
00024 #define Npc (1<<Nhc)
00025 #define Amask ((1<<Na)-1)
00026 #define Pmask ((1<<Np)-1)
00027 #define Nh 16
00028 #define Nb 16
00029 #define Nhxn 14
00030 #define Nhg (Nh-Nhxn)
00031 #define NLpScl 13
00032
00103 SNDKIT_API int resample(
00104 double factor,
00105 SND_HWORD *outPtr,
00106 int inCount,
00107 int outCount,
00108 int nChans,
00109 BOOL interpFilt,
00110 int fastMode,
00111 BOOL largeFilter,
00112 char *filterFile,
00113 const SndFormat inSnd,
00114 int resampleFrom,
00115 void *inData
00116 );