Bug fix: Fix "no soundcard" problem on some debian-based systems

This commit is contained in:
Kiooeht 2011-06-30 18:40:12 -07:00
parent 54bce62857
commit efa8920d1c

View file

@ -2984,6 +2984,7 @@ class MainProgram(QtCore.QObject):
# we could set the frequency higher but i love how cheesy it sounds # we could set the frequency higher but i love how cheesy it sounds
try: try:
pygame.mixer.init() pygame.mixer.init()
pygame.mixer.init()
except pygame.error, e: except pygame.error, e:
print "Warning: No sound! %s" % (e) print "Warning: No sound! %s" % (e)
else: else: