summaryrefslogtreecommitdiffstats
path: root/byteswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'byteswap.h')
-rw-r--r--byteswap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/byteswap.h b/byteswap.h
new file mode 100644
index 0000000..6840412
--- /dev/null
+++ b/byteswap.h
@@ -0,0 +1,12 @@
+#ifndef foosydneyhbyteswaphfoo
+#define foosydneyhbyteswaphfoo
+
+#include <sys/types.h>
+
+#include "sydney.h"
+
+typedef void (*byteswap_func_t) (void *dst, size_t dstr, const void *src, size_t sstr, size_t bytes);
+
+byteswap_func_t get_byteswap_func(sa_pcm_format_t f);
+
+#endif