summaryrefslogtreecommitdiff
path: root/examples/panning.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/panning.c')
-rw-r--r--examples/panning.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/panning.c b/examples/panning.c
index 7ee9a76..485833a 100644
--- a/examples/panning.c
+++ b/examples/panning.c
@@ -30,10 +30,10 @@ int main()
int chan = mossrose_play(&sound, -1);
- for (int i=0; i<800; i++) {
- float time = ((float)i)/100;
+ for (int i=0; i<8000; i++) {
+ float time = ((float)i)/1000;
mossrose_channel_set_pan(chan, cos(2*PI*time), 0);
- Pa_Sleep(10);
+ Pa_Sleep(1);
}
mossrose_terminate();