summaryrefslogtreecommitdiffstats
path: root/format.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-05-12 23:38:38 +0000
committerLennart Poettering <lennart@poettering.net>2007-05-12 23:38:38 +0000
commita64e85acf96bc0c55363fe55c9e9116aef2a8584 (patch)
tree69ec57b46bdebe0e7496bf11ea9a54cdf5806904 /format.h
parent2eb6dec8e9f0114bdbad59cf8f11f197f8fdaaf3 (diff)
resampling works
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@4 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'format.h')
-rw-r--r--format.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/format.h b/format.h
new file mode 100644
index 0000000..2df79ca
--- /dev/null
+++ b/format.h
@@ -0,0 +1,13 @@
+#ifndef foosydneyformathfoo
+#define foosydneyformathfoo
+
+#include <sys/types.h>
+
+#include "sydney.h"
+#include "bbuffer.h"
+
+typedef int (*format_func_t) (bbuffer_t *b, void *dst, size_t dstr, const void *src, size_t sstr, size_t bytes);
+
+format_func_t get_format_func(sa_pcm_format_t from, sa_pcm_format_t to);
+
+#endif