respect speech settings

This commit is contained in:
chrys
2016-07-14 23:25:33 +02:00
parent d9f8229aa5
commit 6f6ab0c68e
7 changed files with 33 additions and 12 deletions

View File

@ -6,7 +6,7 @@ class command():
def run(self, environment):
if environment['screenData']['newDelta'] != environment['screenData']['oldDelta'] or \
environment['screenData']['newTTY'] != environment['screenData']['oldTTY']:
environment['runtime']['speechDriver'].speak(environment['screenData']['newDelta'])
environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newDelta'])
return environment
def setCallback(self, callback):
pass