From a64e85acf96bc0c55363fe55c9e9116aef2a8584 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 12 May 2007 23:38:38 +0000 Subject: resampling works git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@4 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce --- resample.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 resample.h (limited to 'resample.h') diff --git a/resample.h b/resample.h new file mode 100644 index 0000000..4e9fae3 --- /dev/null +++ b/resample.h @@ -0,0 +1,14 @@ +#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 -- cgit