summaryrefslogtreecommitdiffstats
path: root/src/sconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sconv.h')
-rw-r--r--src/sconv.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/sconv.h b/src/sconv.h
new file mode 100644
index 00000000..8667d2ae
--- /dev/null
+++ b/src/sconv.h
@@ -0,0 +1,14 @@
+#ifndef foosconvhfoo
+#define foosconvhfoo
+
+#include "sample.h"
+
+typedef void (*convert_to_float32_func_t)(unsigned n, const void *a, unsigned an, float *b);
+typedef void (*convert_from_float32_func_t)(unsigned n, const float *a, void *b, unsigned bn);
+
+convert_to_float32_func_t get_convert_to_float32_function(enum pa_sample_format f);
+convert_from_float32_func_t get_convert_from_float32_function(enum pa_sample_format f);
+
+
+
+#endif