summaryrefslogtreecommitdiff
path: root/src/mossrose.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-25 14:54:53 -0500
committersanine <sanine.not@pm.me>2022-08-25 14:54:53 -0500
commit37c97e345d12f95dde44e1d1a4c2f2aadd4615bc (patch)
treee1bb25bc855883062bdd7847ff2c04290f71c840 /src/mossrose.h
parent5634c7b04da619669f2f29f6798c03982be05180 (diff)
add initial structure
Diffstat (limited to 'src/mossrose.h')
-rw-r--r--src/mossrose.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mossrose.h b/src/mossrose.h
new file mode 100644
index 0000000..3d5bcd5
--- /dev/null
+++ b/src/mossrose.h
@@ -0,0 +1,12 @@
+#ifndef MOSSROSE_H
+#define MOSSROSE_H
+
+#include <stddef.h>
+
+int mr_init(double sample_rate, int n_channels);
+
+int mr_terminate();
+
+int mr_play(float *left, float *right, size_t n_samples, int channel);
+
+#endif