summaryrefslogtreecommitdiff
path: root/examples/example.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-09-03 21:32:25 -0500
committersanine <sanine.not@pm.me>2022-09-03 21:32:25 -0500
commit2cf000fb7cbe653c2e96e0b3b8f3c1425401d3fc (patch)
treee172ef67b253d1eaa0fb22186b5901edd4de793a /examples/example.c
parenta416cfb6881b8ff99c29ba87c1d940d6143e44b1 (diff)
add looping
Diffstat (limited to 'examples/example.c')
-rw-r--r--examples/example.c6
1 files changed, 3 insertions, 3 deletions
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);