sfxr sdl - sound effects for *ALL* =)
Posted by mjau
Join #ludumdare on irc.afternet.org
Ludum Dare 13 :: December 5th-7th Weekend :: Theme :: Roads
Sign In | Write your Journal
Home | Planet Ludum | Rules Wiki | Mailing List
R1 | R2 | R3 | R4 - Results
Time to start rating entries and giving out trophies!
All posts, images, and comments are owned by their creators.
December 15th, 2007 at 5:28 pm
You are great! Thanks to you (and DrPetter) my game now can have sound
December 15th, 2007 at 6:02 pm
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
December 18th, 2007 at 3:06 pm
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.
December 30th, 2007 at 5:48 pm
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.
January 8th, 2008 at 6:24 pm
Thanks Acedio, that did it
February 3rd, 2008 at 9:33 am
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 =)).