How to stop audio with pyglet when file is played?
Posted
by Jean-Pierre
on Stack Overflow
See other posts from Stack Overflow
or by Jean-Pierre
Published on 2010-03-19T18:50:42Z
Indexed on
2010/03/24
8:13 UTC
Read the original article
Hit count: 527
I'm using this program to play na audio file:
music = pyglet.resource.media('file.wav') music.play()
pyglet.app.run()
I have a problem: I can't do anything after this program. How to stop the audio file when is played? It's look like a loop.
© Stack Overflow or respective owner