From 2cf000fb7cbe653c2e96e0b3b8f3c1425401d3fc Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 3 Sep 2022 21:32:25 -0500 Subject: add looping --- include/mossrose.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/mossrose.h b/include/mossrose.h index 81f71db..72f7b99 100644 --- a/include/mossrose.h +++ b/include/mossrose.h @@ -15,7 +15,7 @@ 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); +int mossrose_play(struct mossrose_sound_t *sound, int channel, int loops); 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); -- cgit v1.2.1