예제 #1
0
 def __init__(self):
     Thread.__init__(self)
     global _audio_player
     if _audio_player is None or not _audio_player.is_alive():
         _audio_player = WavPlayer()
         _audio_player.start()
         _audio_player.set_volume(VOLUMEN_GENERAL)
     self.reset()
     self.setDaemon(True)
예제 #2
0
파일: modulo.py 프로젝트: bauna/vot.ar
 def _start_audio(self):
     global _audio_player
     if _audio_player is None or not _audio_player.is_alive():
         _audio_player = WavPlayer()
         _audio_player.start()
     self._player = _audio_player
예제 #3
0
 def _start_audio(self):
     global _audio_player
     if _audio_player is None or not _audio_player.is_alive():
         _audio_player = WavPlayer()
         _audio_player.start()
     self._player = _audio_player