Re: how to play a sound file repeatedly in loop

2010-05-08 Thread MRAB
varnikat t wrote: How to run sound file repeatedly in loop ? When I do this, it does nothing and terminates: import pygst pygst.require("0.10") import gst, gtk n=0 while n<10: player = gst.element_factory_make("playbin2", "player") player.set_property("uri", "file:/home/varnika/hell

how to play a sound file repeatedly in loop

2010-05-08 Thread varnikat t
How to run sound file repeatedly in loop ? When I do this, it does nothing and terminates: import pygst pygst.require("0.10") import gst, gtk n=0 while n<10: player = gst.element_factory_make("playbin2", "player") player.set_property("uri", "file:/home/varnika/hello.ogg") player.se