Thread
:
Play WAV in Python
View Single Post
pycage
2007-12-31 , 16:23
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#
2
To me it looks like your programs exit before they can play the sound. Try using
import gtk; gtk.main()
at the end of your gstreamer code. This will enter the GTK mainloop, and thus also the glib mainloop which is used by gstreamer.
Quote & Reply
|
pycage
View Public Profile
Send a private message to pycage
Find all posts by pycage