qaze / violetland

Automatically exported from code.google.com/p/violetland
1 stars 0 forks source link

Unable to start game #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make your sound card unavailable
2. write in command line ./violetland
3. see that game doesn't load

What is the expected output? What do you see instead?
Output:
$./violetland
Path to resources is set to:
        /home/toll/violetland/bin/bin/../share/violetland/
violetland v0.2.0

SDL_Init...
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
SDL_GL_SetAttribute SDL_GL_DOUBLEBUFFER...
SDL_SetVideoMode 800x600 (w)...
glViewport...
Mix_OpenAudio...
Unable to initialize audio: No available audio device

What version of the product are you using? On what operating system?
i use svn version, revision r17. OS - Gentoo x86_64.

Please provide any additional information below.

Original issue reported on code.google.com by metalu...@gmail.com on 25 Oct 2009 at 10:39

GoogleCodeExporter commented 9 years ago
Confirmed.

Original comment by 5253...@gmail.com on 26 Oct 2009 at 7:45

GoogleCodeExporter commented 9 years ago

Original comment by 5253...@gmail.com on 26 Oct 2009 at 5:48

GoogleCodeExporter commented 9 years ago
I have made necessary code changes, but I cannot test it as sound system remains
enabled even if I shut sound system down (I don't hear sounds, but Mix_OpenAudio
passes). So additional test is required (I will test it tomorrow on windows).

Original comment by 5253...@gmail.com on 26 Oct 2009 at 7:36

GoogleCodeExporter commented 9 years ago
I updated from svn. Now it works fine. Here is log:
SDL_Init...
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
SDL_GL_SetAttribute SDL_GL_DOUBLEBUFFER...
SDL_SetVideoMode 800x600 (w)...
glViewport...
SoundManager...
Mix_OpenAudio (freq 22050, chan 2, chunksize 2048)...
Sound is disabled: No available audio device
InputHandler...
Loading weapons...
Constructing aim...
Starting new game...

Original comment by metalu...@gmail.com on 26 Oct 2009 at 10:27

GoogleCodeExporter commented 9 years ago
It works in windows too.

Original comment by 5253...@gmail.com on 27 Oct 2009 at 7:35