summaryrefslogtreecommitdiff
path: root/examples/panning.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/panning.c
parenta416cfb6881b8ff99c29ba87c1d940d6143e44b1 (diff)
add looping
Diffstat (limited to 'examples/panning.c')
-rw-r--r--examples/panning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/panning.c b/examples/panning.c
index 485833a..b63727b 100644
--- a/examples/panning.c
+++ b/examples/panning.c
@@ -28,7 +28,7 @@ int main()
Pa_Sleep(500);
- int chan = mossrose_play(&sound, -1);
+ int chan = mossrose_play(&sound, -1, 1);
for (int i=0; i<8000; i++) {
float time = ((float)i)/1000;