Update generic.py

This commit is contained in:
chrys87 2016-09-16 13:19:49 +02:00 committed by GitHub
parent dfb72313df
commit dc1fcc8e04

View File

@ -6,7 +6,8 @@ class driver():
self.proc = None self.proc = None
self.volume = 1.0 self.volume = 1.0
self.soundType = '' self.soundType = ''
self.soundFileCommand = 'play -q -v fenrirVolume fenrirSoundFile' self.soundFileCommand = ''
self.frequenceCommand = ''
def initialize(self, environment): def initialize(self, environment):
self.soundFileCommand = environment['runtime']['settingsManager'].getSetting(environment,'sound', 'genericPlayFileCommand') self.soundFileCommand = environment['runtime']['settingsManager'].getSetting(environment,'sound', 'genericPlayFileCommand')
self.frequenceCommand = environment['runtime']['settingsManager'].getSetting(environment,'sound', 'genericFrequencyCommand') self.frequenceCommand = environment['runtime']['settingsManager'].getSetting(environment,'sound', 'genericFrequencyCommand')