From 2cf000fb7cbe653c2e96e0b3b8f3c1425401d3fc Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 3 Sep 2022 21:32:25 -0500 Subject: add looping --- examples/example.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/example.c') diff --git a/examples/example.c b/examples/example.c index 5e65d82..eefc41d 100644 --- a/examples/example.c +++ b/examples/example.c @@ -35,17 +35,17 @@ int main() Pa_Sleep(500); printf("play 1\n"); - mossrose_play(&sound_512, -1); + mossrose_play(&sound_512, -1, 1); printf("wait\n"); Pa_Sleep(1000); printf("play 2\n"); - mossrose_play(&sound_440, -1); + mossrose_play(&sound_440, -1, 1); printf("wait\n"); Pa_Sleep(500); printf("play 3\n"); - mossrose_play(&sound_512, -1); + mossrose_play(&sound_512, -1, 1); printf("wait\n"); Pa_Sleep(1000); -- cgit v1.2.1