From 48e6520f6517f196a0a8f39bf86159075ad44c6b Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 31 Aug 2022 14:34:22 -0500 Subject: finish basic implementation --- include/mossrose.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/mossrose.h b/include/mossrose.h index 44d5477..81f71db 100644 --- a/include/mossrose.h +++ b/include/mossrose.h @@ -11,10 +11,14 @@ struct mossrose_sound_t { size_t len; }; -int mossrose_init(double sample_rate, int n_channels); +int mossrose_init(double sample_rate, int n_channels, bool init_plibsys); int mossrose_terminate(); int mossrose_play(struct mossrose_sound_t *sound, int channel); +void mossrose_channel_set_volume(int channel, float volume); +void mossrose_channel_set_pan(int channel, float left, float right); +void mossrose_channel_pause(int channel); +void mossrose_channel_resume(int channel); #endif -- cgit v1.2.1