Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: jur on June 09, 2010, 07:54:03 PM
-
I have alsa installed and it works fine, but I can't run dreamchess: it complains about sdlmixer not being able to load move1.wav.
-
just did a base test no problem here
-
Repeated the test from base, same problem. Which sound do you use?
tc@box:~$ dreamchess
sh: dreamchess: not found
tc@box:~$ loadapp dreamchess
libmxml.tcz: OK
libmad.tcz: OK
SDL.tcz: OK
dreamchess.tcz: OK
tc@box:~$ dreamchess
DreamChess v0.2.0 (r577)
sdlmixer.c:93: error: unable to open audio
sdlmixer.c:59: error: failed to load move1.wav
tc@box:~$ aplay /usr/local/share/dreamchess/sounds/move1.wav
Playing WAVE '/usr/local/share/dreamchess/sounds/move1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
tc@box:~$
-
alsa
i really can't produce your error can you try with a different game that depends on SDL to see if problem is with SDL ?
-
If you have music playing or such, could be that SDL tries OSS sound first and that fails with alsa's OSS emulation.
export SDL_AUDIODRIVER=alsa
dreamchess
-
I tried the export idea, that had no effect.
Fiddled around with alsa a bit, making sure it is started via alsasound, no effect.
I tried out pinball which depends on SDL and although pinball plays, there is no sound. Playing sounds manually via aplay or vlc or something similar works. It looks like it's something to do with SDL. I'll reload it just in case.
Added: Reloading SDL had no effect.