We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I do not see how the method runAndWait() can return, there seems to be no guard condition in the startLoop method.
runAndWait()
startLoop
pyttsx3/pyttsx3/drivers/sapi5.py
Lines 124 to 132 in 5d3755b
Looking at pyttsx3/drivers/espeak.py driver, I altered the method startLoop in pyttsx3/drivers/sapi5.py:
pyttsx3/drivers/espeak.py
pyttsx3/drivers/sapi5.py
def startLoop(self): first = True self._looping = True while self._looping: if first: self._proxy.setBusy(False) first = False if not pythoncom.PumpWaitingMessages() and self._looping: self._stopping = False self._proxy.notify('finished-utterance', completed=False) self._proxy.setBusy(False) time.sleep(0.05)
The text was updated successfully, but these errors were encountered:
Thank. This helped me!
Sorry, something went wrong.
No branches or pull requests
I do not see how the method
runAndWait()
can return, there seems to be no guard condition in thestartLoop
method.pyttsx3/pyttsx3/drivers/sapi5.py
Lines 124 to 132 in 5d3755b
Looking at
pyttsx3/drivers/espeak.py
driver, I altered the methodstartLoop
inpyttsx3/drivers/sapi5.py
:The text was updated successfully, but these errors were encountered: