[SDL] SDL_mixer delay
Rhythmic Fistman
rfistman at gmail.com
Sat Aug 5 01:42:56 PDT 2006
From: Facundo Dominguez - INCO <fdomin at fing.edu.uy>
> Hello, There:
> I'm compiling a game on Windows 98 SE, with mingw, using
> SDL-1.2.11 and SDL_mixer-1.2.7.
>
> On the first try I compiled SDL and SDL_mixer myself with the
> usual procedure "./configure && make && make install"
> When I ran the game I got a delay (from 0.5 second to 1 second)
> between the action and the moment when the corresponding sound was heard.
>
> The second try was to use the precompiled sdl.dll for mingw,
> available at www.libsdl.org. That seems to have fixed the problem. But,
> why?
The precompiled lib is built with visual studio. There's a sound bug
in the mingw build and no-one seems to know why.
> ?What can have made the precompiled build different from mine? ?So
> different as to make the sound work?
Nobody knows. If the code's the same then it's either a bug in mingw
or a misconfiguration problem, however unlike visual studio mingw
doesn't have whole lot of flags to get wrong.
RF.
More information about the SDL
mailing list