diff options
author | sanine <sanine.not@pm.me> | 2022-08-28 11:25:44 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-28 11:25:44 -0500 |
commit | 0d6ece00397ebb9215ccf1af06cce22c3a94197e (patch) | |
tree | 022cc796822a998a59d8bf8896f02599ce6d3700 /include/mossrose.h | |
parent | a4dd0ad63c00f4dee3b86dfd3075d1d61b2b3180 (diff) |
begin plibsys refactor
Diffstat (limited to 'include/mossrose.h')
-rw-r--r-- | include/mossrose.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 <stddef.h> +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 |