remove unneeded returns
This commit is contained in:
parent
251e4eda3e
commit
c0adc2c309
@ -22,10 +22,8 @@ class driver():
|
||||
self.soundFileCommand = 'play -q -v fenrirVolume fenrirSoundFile'
|
||||
if self.frequenceCommand == '':
|
||||
self.frequenceCommand = 'play -q -v fenrirVolume -n -c1 synth fenrirDuration sine fenrirFrequence'
|
||||
return
|
||||
def shutdown(self):
|
||||
self.cancel()
|
||||
return
|
||||
def playFrequence(self, frequence = 1000, duration = 0.3, adjustVolume = 0):
|
||||
if interrupt:
|
||||
self.cancel()
|
||||
|
Loading…
Reference in New Issue
Block a user