Dummy sound should know about foreground as well
authorNeil <neil@dip.sun.ac.za>
Sat, 17 May 2014 10:34:18 +0000 (12:34 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 17 May 2014 10:34:29 +0000 (12:34 +0200)
naja/sound.py

index 14ef8d4bac9bc56ff79aa88030ae3d3404691924..2d61974a9bbc10dac235b41b236bc3a2a1238945 100644 (file)
@@ -15,7 +15,7 @@ class DummySound(object):
     def init(self):
         pass
 
-    def play_sound(self, name, volume=DEFAULT_SOUND_VOLUME):
+    def play_sound(self, name, volume=DEFAULT_SOUND_VOLUME, foreground=False):
         pass
 
     def play_music(self, name, volume=DEFAULT_MUSIC_VOLUME):