#ifndef foosydneyresamplehfoo #define foosydneyresamplehfoo #include #include #include "sydney.h" #include "speex/speex_resampler.h" typedef void (*resample_func_t) (SpeexResamplerState *speex, unsigned channel, void *dst, size_t dstr, const void *src, size_t sstr, size_t in_bytes, size_t *out_bytes); resample_func_t get_resample_func(sa_pcm_format_t f); #endif