In pygame is there a way to tell if a sound has finished playing? I read the set_endevent
and get_endevent
documentation but I can't make sense of it or find an example.
I'm trying to specifically do the following:
- play a sound
- While the sound is playing keep iterating on a loop
- When the sound has finished playing, move on.
I did check the other questions that were asked - didnt find anything specifically targeting python / pygame.
Thanks!