skulbrane / endgame-singularity

Automatically exported from code.google.com/p/endgame-singularity
0 stars 0 forks source link

[PATCH] nosound still tries to init pygame.mixer #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start game with nosound in prefs but no audio device:

What is the expected output? What do you see instead?
$ ./Endgame_Linux 
Traceback (most recent call last):
  File "singularity.py", line 1, in <module>
    import code.singularity
  File
"/home/tc/Projects/endgame-singularity-read-only/code/singularity.py", line
215, in <module>
    g.reinit_mixer()
  File "/home/tc/Projects/endgame-singularity-read-only/code/g.py", line
1200, in reinit_mixer
    pygame.mixer.init(48000, -16, 2, soundbuf)
pygame.error: No available audio device

Please use labels and text to provide additional information.

Original issue reported on code.google.com by tommy.l....@gmail.com on 30 Mar 2010 at 9:04

Attachments:

GoogleCodeExporter commented 9 years ago
This was fixed in git commit 84237086..

Original comment by phil.bor...@gmail.com on 29 Mar 2012 at 6:55