Skip to content
This repository
Browse code

Change audio extensions to mp3 to fix linux sounds bug

  • Loading branch information...
commit 913aa29ebaf7cb14f464de03ae070b316c88841a 1 parent f62c3a6
Flávio Ribeiro authored August 26, 2010
4  jailbreakerz/game.py
@@ -47,7 +47,7 @@ def __init__(self, *args, **kwargs):
47 47
     def fall(self):
48 48
         action = CustomJump((500,0), 100, 10, 7)
49 49
         self.thief.do(action)
50  
-        pyglet.resource.media('media/sounds/yupi.wav').play()
  50
+        pyglet.resource.media('media/sounds/yupi.mp3').play()
51 51
 
52 52
 class Catcher(Layer):
53 53
 
@@ -70,4 +70,4 @@ def on_key_press(self, key, modifiers):
70 70
 if __name__ == '__main__':
71 71
     director.init(resizable=False, width=800, height=600)
72 72
     scene = Scene(Game(), Catcher(), FallingThief() )
73  
-    director.run(scene)
  73
+    director.run(scene)
2  jailbreakerz/jailbreakerz.py
@@ -58,7 +58,7 @@ def __init__(self):
58 58
 
59 59
         self.create_menu(items)
60 60
         
61  
-        sound.player.queue(pyglet.resource.media('media/sounds/fundogame.aif'))
  61
+        sound.player.queue(pyglet.resource.media('media/sounds/menu.mp3'))
62 62
         sound.player.eos_action = 'loop'
63 63
         sound.player.play()    
64 64
 
BIN  jailbreakerz/media/sounds/fundogame.mp3
Binary file not shown
BIN  jailbreakerz/media/sounds/jump.mp3
Binary file not shown
BIN  jailbreakerz/media/sounds/menu.mp3
Binary file not shown
BIN  jailbreakerz/media/sounds/yupi.mp3
Binary file not shown

0 notes on commit 913aa29

Please sign in to comment.
Something went wrong with that request. Please try again.