diff options
Diffstat (limited to 'src/resample.h')
-rw-r--r-- | src/resample.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/resample.h b/src/resample.h new file mode 100644 index 0000000..7734f86 --- /dev/null +++ b/src/resample.h @@ -0,0 +1,14 @@ +#ifndef foosydneyresamplehfoo +#define foosydneyresamplehfoo + +#include <sys/types.h> +#include <inttypes.h> + +#include "sydney.h" +#include "speex/speex_resampler.h" + +typedef void (*sa_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); + +sa_resample_func_t sa_get_resample_func(sa_pcm_format_t f); + +#endif |