summaryrefslogtreecommitdiffstats
path: root/src/resample.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-10-01 20:16:28 +0000
committerLennart Poettering <lennart@poettering.net>2007-10-01 20:16:28 +0000
commit7d83e5c7816b5e343695a75ba58b32dbe1be969a (patch)
treebfd1dfc9b7c8f4a2aaf66c1b30e78355dee8c88a /src/resample.h
parent762196328ab7e60f1d2908fd5a337d2ca99726dd (diff)
move all sources down to a seperate src/ tree
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@34 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'src/resample.h')
-rw-r--r--src/resample.h14
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