Flan
r8bsrc.h
Go to the documentation of this file.
1 //$ nocpp
2 
24 #ifndef R8BSRC_INCLUDED
25 #define R8BSRC_INCLUDED
26 
31 typedef void* CR8BResampler;
32 
38 {
39  r8brr16 = 0,
40  r8brr16IR = 1,
42  r8brr24 = 2
44 };
47 
48 extern "C" {
49 
64 CR8BResampler _cdecl r8b_create( const double SrcSampleRate,
65  const double DstSampleRate, const int MaxInLen,
66  const double ReqTransBand, const ER8BResamplerRes Res );
67 
75 void _cdecl r8b_delete( CR8BResampler const rs );
76 
85 void _cdecl r8b_clear( CR8BResampler const rs );
86 
114 int _cdecl r8b_process( CR8BResampler const rs, double* const ip0, int l,
115  double*& op0 );
116 
117 } // extern "C"
118 
119 #endif // R8BSRC_INCLUDED
int _cdecl r8b_process(CR8BResampler const rs, double *const ip0, int l, double *&op0)
Function performs sample rate conversion.
Definition: r8bsrc.cpp:87
void * CR8BResampler
Resampler object handle.
Definition: r8bsrc.h:31
CR8BResampler _cdecl r8b_create(const double SrcSampleRate, const double DstSampleRate, const int MaxInLen, const double ReqTransBand, const ER8BResamplerRes Res)
Function creates a new linear-phase resampler object.
Definition: r8bsrc.cpp:57
void _cdecl r8b_clear(CR8BResampler const rs)
Function clears (resets) the state of the resampler object and returns it to the state after construc...
Definition: r8bsrc.cpp:82
ER8BResamplerRes
Possible resampler object resolutions.
Definition: r8bsrc.h:37
void _cdecl r8b_delete(CR8BResampler const rs)
Function deletes a resampler previously created via the r8b_create() function.
Definition: r8bsrc.cpp:77
16-bit precision resampler for impulse responses.
Definition: r8bsrc.h:41
16-bit precision resampler.
Definition: r8bsrc.h:39
24-bit precision resampler (including 32-bit floating
Definition: r8bsrc.h:43