summaryrefslogtreecommitdiff
path: root/examples/example.c
diff options
context:
space:
mode:
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);