28 #ifndef SILK_RESAMPLER_STRUCTS_H
29 #define SILK_RESAMPLER_STRUCTS_H
35 #define SILK_RESAMPLER_MAX_FIR_ORDER 36
36 #define SILK_RESAMPLER_MAX_IIR_ORDER 6
38 typedef struct _silk_resampler_state_struct{
39 opus_int32 sIIR[ SILK_RESAMPLER_MAX_IIR_ORDER ];
41 opus_int32 i32[ SILK_RESAMPLER_MAX_FIR_ORDER ];
42 opus_int16 i16[ SILK_RESAMPLER_MAX_FIR_ORDER ];
44 opus_int16 delayBuf[ 48 ];
45 opus_int resampler_function;
47 opus_int32 invRatio_Q16;
53 const opus_int16 *Coefs;
54 } silk_resampler_state_struct;