I would like Pyglet to play a long sound but wait until the end of the wav file before doing anything else. I have been playing around with .playing in the Player class or on_eos but I could not get what I want.
Does anyone have a sample code of how may I play a music in the main thread and wait until the music is done before continuing? Thank you -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.