sfxr sdl – sound effects for *ALL* =)

Posted by
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: , , , , , , , , ,


6 Responses to “sfxr sdl – sound effects for *ALL* =)”

  1. allefant says:

    You are great! Thanks to you (and DrPetter) my game now can have sound :)

  2. Papper says:

    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

  3. gAzo0o says:

    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.

  4. Acedio says:

    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.

  5. gAzo0o says:

    Thanks Acedio, that did it :)

  6. mjau says:

    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 =)).

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]