[tuxdroid-svn] r650 - api/python/trunk
Status: Beta
Brought to you by:
ks156
From: remi <c2m...@c2...> - 2007-10-31 10:39:39
|
Author: remi Date: 2007-10-31 11:39:38 +0100 (Wed, 31 Oct 2007) New Revision: 650 Modified: api/python/trunk/tuxapi_class.py Log: ADD: wav.destroy method Modified: api/python/trunk/tuxapi_class.py =================================================================== --- api/python/trunk/tuxapi_class.py 2007-10-30 15:52:35 UTC (rev 649) +++ api/python/trunk/tuxapi_class.py 2007-10-31 10:39:38 UTC (rev 650) @@ -212,6 +212,7 @@ self.daemon._tcp_threads_join() self.tts._tcp_threads_join() self.micro.destroy() + self.wav.destroy() self.exit_flag=True for main_thread in self.main_thread_list: if self.print_debug_thread: @@ -4275,6 +4276,7 @@ def destroy(self): self.on_wav_raw.destroy() + self.stop() def speaking_stack_add(self, speaking_conf): self.speaking_stack_mutex.acquire() @@ -5065,6 +5067,9 @@ self.parent = parent self.__wav_path = "" self.__wav_length = 0 + + def destroy(self): + self.stop() def __load(self, wav_path): if os.path.isfile(wav_path): |