def _close(self): if self.running: print("uninstalling coreaudio callback") coreaudio.stopAudio(self) self.outbuffer = '' self.running = False
def _close(self): if self.running: print "uninstalling coreaudio callback" coreaudio.stopAudio(self) self.outbuffer = '' self.running = False
def callback(self): if self.counter: coreaudio.stopAudio(self) self.counter += 1 return self.silence
def stop(self): import coreaudio if self.playing is True: coreaudio.stopAudio(self) self.playing = False
def stop(self): coreaudio.stopAudio(self)