Пример #1
0
 def volumeDown(self):
     #Override because returning the message (which causes speech) causes the backend to hang, not sure why... threading issue?
     self.updateMessage = ThreadedTTSBackend.volumeDown(self)
Пример #2
0
 def isSpeaking(self):
     return ThreadedTTSBackend.isSpeaking(self) or None
Пример #3
0
 def volumeDown(self):
     #Override because returning the message (which causes speech) causes the backend to hang, not sure why... threading issue?
     self.updateMessage = ThreadedTTSBackend.volumeDown(self)
Пример #4
0
 def isSpeaking(self):
     return (self.process and self.process.poll() == None) or ThreadedTTSBackend.isSpeaking(self)
Пример #5
0
 def isSpeaking(self):
     return (self.process and self.process.poll()
             == None) or ThreadedTTSBackend.isSpeaking(self)
Пример #6
0
 def __init__(self):
     util.LOG('OSXSay using subprocess method class')
     self.process = None
     ThreadedTTSBackend.__init__(self)
Пример #7
0
 def isSpeaking(self):
     return ThreadedTTSBackend.isSpeaking(self) or None