normalize gstreamer, make generic work

This commit is contained in:
Chrys
2021-05-19 11:19:11 +02:00
parent 7a1f93607d
commit f261583a4b
4 changed files with 10 additions and 7 deletions

View File

@ -23,7 +23,7 @@ class fenrirManager():
raise RuntimeError('Cannot Initialize. Maybe the configfile is not available or not parseable')
except RuntimeError:
raise
self.environment['runtime']['outputManager'].playFrequence(500, 500, interrupt=True)
self.environment['runtime']['outputManager'].playFrequence(500, 1, interrupt=True)
#self.environment['runtime']['outputManager'].presentText(_("Start Fenrir"), soundIcon='ScreenReaderOn', interrupt=True)
signal.signal(signal.SIGINT, self.captureSignal)
signal.signal(signal.SIGTERM, self.captureSignal)

View File

@ -239,7 +239,7 @@ class outputManager():
def interruptOutput(self):
try:
self.env['runtime']['speechDriver'].cancel()
self.env['runtime']['debug'].writeDebugOut("Interrupt speech",debug.debugLevel.INFO)
self.env['runtime']['debug'].writeDebugOut("Interrupt speech",debug.debugLevel.INFO)
except:
pass