From 0d6ece00397ebb9215ccf1af06cce22c3a94197e Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 28 Aug 2022 11:25:44 -0500 Subject: begin plibsys refactor --- include/mossrose.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/mossrose.h') diff --git a/include/mossrose.h b/include/mossrose.h index fb7d088..5ca454a 100644 --- a/include/mossrose.h +++ b/include/mossrose.h @@ -3,10 +3,16 @@ #include +struct mossrose_sound_t { + float *left; + float *right; + size_t len; +}; + 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); +int mossrose_play(struct mossrose_sound_t *sound, int channel); #endif -- cgit v1.2.1