summaryrefslogtreecommitdiffstats
path: root/format.h
diff options
context:
space:
mode:
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