SDL_sound 0.1.1 available. (fwd)

Ryan C. Gordon icculus at clutteredmind.org
Wed Sep 19 07:59:08 EDT 2001



---------- Forwarded message ----------
Date: Wed, 19 Sep 2001 20:50:29 +0900
From: Tsuyoshi Iguchi

Hi.

At Wed, 19 Sep 2001 05:11:12 -0400 (EDT),
Ryan C. Gordon <icculus at clutteredmind.org> wrote:

> least MacOS and BeOS ports following suit. Also, if someone has a
> convenient box with another Unix flavor (BSD, Solaris, etc) I'd appreciate
> knowing if SDL_sound works on them.

Works mostly fine on my FreeBSD box (FreeBSD-4.3 RELEASE + SDL-1.2.2).
But sometimes on running test_sdlsound, SIGSEGV occurs at output_decoders().

I guess following patch solves this probrem.

--- SDL_sound.c.orig    Wed Sep 19 16:50:30 2001
+++ SDL_sound.c Wed Sep 19 20:45:49 2001
@@ -122,6 +122,8 @@
     for (i = 0; decoderFuncs[i] != NULL; i++)
         available_decoders[i] = &decoderFuncs[i]->info;

+    available_decoders[i] = NULL;
+
     initialized = 1;
     return(1);
 } /* Sound_Init */



Regards.





More information about the sdlsound mailing list