diff gamelib/constants.py @ 61:a253fae32a6f

Add no-sound option (slow shutdown bug workaround)
author Neil Muller <drnlmuller@gmail.com>
date Tue, 08 May 2012 16:27:44 +0200
parents a2980cc9a060
children a40a76012bd7
line wrap: on
line diff
--- a/gamelib/constants.py	Mon May 07 23:41:00 2012 +0200
+++ b/gamelib/constants.py	Tue May 08 16:27:44 2012 +0200
@@ -4,3 +4,9 @@
 HEIGHT = 600
 SCREEN = (WIDTH, HEIGHT)
 FPS = 30
+
+# Sound related (standard options)
+FREQ = 44100
+BITSIZE = -16  # unsigned 16 bit
+CHANNELS = 2
+BUFFER = 1024