Displaying 1 result from an estimated 1 matches for "lastplay".
Did you mean:
lastly
2002 Nov 03
0
python bindings and ao lockup
Hello, I hope this is the right place to ask.
I am having random lockups from the python bindings. My app has one or
two threads running, the lockups only occure at one point, here is the
code run as a thread
def play(self):
self.playing = TRUE
self.output = []
self.lastplay = time.time()
args = self.song_file, self.output
retval = thread.start_new_thread(self.play_as_thread, args)
<p>def play_as_thread(self, song_file, output):
print self.get_name() + " started"
vf = ogg.vorbis.VorbisFile(song_file)
print "...