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