> player.queue(sin) > while not win.has_exit: > time_passed = clock.tick() > player.play() > win.flip() > win.dispatch_events() > player.dispatch_events() >
Out of interest, why call player.play() repeatedly during your frame loop? Could you not call it once before entering the loop and then just dispatch events periodically? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
