Bug fix: Fix "no soundcard" problem on some debian-based systems
This commit is contained in:
parent
54bce62857
commit
efa8920d1c
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue