diff options
author | sanine <sanine.not@pm.me> | 2022-09-03 21:32:25 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-09-03 21:32:25 -0500 |
commit | 2cf000fb7cbe653c2e96e0b3b8f3c1425401d3fc (patch) | |
tree | e172ef67b253d1eaa0fb22186b5901edd4de793a /include | |
parent | a416cfb6881b8ff99c29ba87c1d940d6143e44b1 (diff) |
add looping
Diffstat (limited to 'include')
-rw-r--r-- | include/mossrose.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |