December 15th, 2007 5:25 pm
I ported DrPetter’s excellent sfxr (info) to SDL, so it can now be compiled and run natively in Linux!
Download: sfxr-sdl.tar.gz
Just type ‘make’ to compile. You need SDL and GTK 2.
Tags: effects, explosions, fun, laser, linux, random, SDL, sfxr, sound, tools
This entry was posted
on Saturday, December 15th, 2007 at 5:25 pm and is filed under LD #10 - Chain Reaction - 2007.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
You are great! Thanks to you (and DrPetter) my game now can have sound
Works great, thanks a lot for porting it.
This means I will have to spend the rest of the night making sounds instead of sleeping :p
Hello there, I’m actually having problems with the program, it compiles fine, but when I try to start it, it exits with this:
[!] main.cpp:1167 !SDL_OpenAudio(&des, __null)
I have sdl 1.2.12, gtk 2.12.1 and glibc 2.7.
gAzoOo, if you go into main.cpp and add in:
des.samples=4096;
At line 1166ish (before SDL_OpenAudio()) it should fix it. I had the same problem and that fixed it for me! I think it was just forgotten in the code. Some sound cards need the sample buffer size to be a power of two.
Thanks Acedio, that did it
I’ve updated the SDL port with a fix for the SDL_OpenAudio issue (same dl link as before). Also, cancelling a save dialog would save to a random filename, fixed that too (thanks vegard =)).