summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-26 12:42:30 -0500
committersanine <sanine.not@pm.me>2022-08-26 12:42:30 -0500
commitbde3e4f1bb7b8f8abca0884a7d994ee1c17a66b1 (patch)
tree825ff3669a38ec247bcc9b575a4a4ceb81534d35 /include
parent8ec3f8e82acd70410515550fd1790ee5827aafdb (diff)
refactor: move mossrose.h to include/ dir
Diffstat (limited to 'include')
-rw-r--r--include/mossrose.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mossrose.h b/include/mossrose.h
new file mode 100644
index 0000000..fb7d088
--- /dev/null
+++ b/include/mossrose.h
@@ -0,0 +1,12 @@
+#ifndef MOSSROSE_H
+#define MOSSROSE_H
+
+#include <stddef.h>
+
+int mossrose_init(double sample_rate, int n_channels);
+
+int mossrose_terminate();
+
+int mossrose_play(float *left, float *right, size_t n_samples, int channel);
+
+#endif