[SDL] Looping mp3/ogg music
x5101920 at fedro.ugr.es
x5101920 at fedro.ugr.es
Thu Nov 9 04:26:56 PST 2000
> > Accurate timing has its place in games but I'm not sure that sleeping a
> > short while each frame just in case some background thread needs the cpu is
> > the right way to do it
>
> Absolutely, but it's an acceptable workaround until a better solution
> is widespread.
Machintosh use YieldtoThread() or similar name. I know that there is something
similar for Windows, and suppose that it also should exist on Linux.
Anyway I use SDL_Delay in all system expect Mac.
Regards,
Miguel
http://www.arianne.cx
More information about the SDL
mailing list