From bde3e4f1bb7b8f8abca0884a7d994ee1c17a66b1 Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 26 Aug 2022 12:42:30 -0500 Subject: refactor: move mossrose.h to include/ dir --- src/mossrose-channel.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/mossrose-channel.h (limited to 'src/mossrose-channel.h') diff --git a/src/mossrose-channel.h b/src/mossrose-channel.h deleted file mode 100644 index e1db89d..0000000 --- a/src/mossrose-channel.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef MOSSROSE_CHANNEL_H -#define MOSSROSE_CHANNEL_H - -#include -#include "mossrose-mutex.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 -- cgit v1.2.1