summaryrefslogtreecommitdiff
path: root/src/channel.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-28 11:25:44 -0500
committersanine <sanine.not@pm.me>2022-08-28 11:25:44 -0500
commit0d6ece00397ebb9215ccf1af06cce22c3a94197e (patch)
tree022cc796822a998a59d8bf8896f02599ce6d3700 /src/channel.h
parenta4dd0ad63c00f4dee3b86dfd3075d1d61b2b3180 (diff)
begin plibsys refactor
Diffstat (limited to 'src/channel.h')
-rw-r--r--src/channel.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/channel.h b/src/channel.h
index 23c11d6..6266a10 100644
--- a/src/channel.h
+++ b/src/channel.h
@@ -2,25 +2,7 @@
#define MOSSROSE_CHANNEL_H
#include <stddef.h>
-#include "mutex.h"
+#include <plibsys.h>
-struct mossrose_channel_t {
- mossrose_mutex_t mutex;
- float *left;
- float *right;
- size_t n_samples;
- size_t pos;
-};
-
-
-void mossrose_channel_init(struct mossrose_channel_t *chan);
-
-int mossrose_channel_set(struct mossrose_channel_t *chan, float *left, float *right, size_t len, int force);
-
-void mossrose_channel_reset(struct mossrose_channel_t *chan);
-
-int mossrose_channel_advance(float *left, float *right, struct mossrose_channel_t *chan);
-
-void mossrose_channel_destroy(struct mossrose_channel_t *chan);
#endif