add debug

This commit is contained in:
Chrys 2021-05-19 11:20:43 +02:00
parent f261583a4b
commit a47c2529b0

View File

@ -23,7 +23,7 @@ class driver(soundDriver):
self._initialized = False self._initialized = False
print('Sound Debug Driver: Shutdown') print('Sound Debug Driver: Shutdown')
def playFrequence(self, frequence = 1000, duration = 0.3, adjustVolume = 0): def playFrequence(self, frequence, duration, adjustVolume = 0, interrupt=True):
if not self._initialized: if not self._initialized:
return return
if interrupt: if interrupt: