Session mute and buffer mute has been added to their keyboard shorcuts

This commit is contained in:
2015-03-11 17:17:29 -06:00
parent 4613b7ada1
commit d4fc809169
9 changed files with 33 additions and 16 deletions

View File

@@ -87,7 +87,7 @@ class soundSystem(object):
def play(self, sound, argument=False):
if self.soundpack_OK == False: return
if self.config["global_mute"] == True: return
if self.config["session_mute"] == True: return
sound_object = sound_lib.stream.FileStream(file="%s/%s" % (self.path, sound))
sound_object.volume = float(self.config["volume"])
self.files.append(sound_object)