[SDL] fullscreen performance

Loren Osborn linux_dr at yahoo.com
Mon Aug 19 14:04:00 PDT 2002


--- BiG OSHi <sdl at ronnz.com> wrote:
> Hello!
> 
>   Some days ago I asked for help regarding a problem
> with SDL_Mixer.
>   It appeared the solution just was to use the
> DirectX development
>   libraries when compiling SDL.
> 
>   Thanx again for the immediate help! :)
> 
>   Now sound works find but when I use fullscreen
> video modes the graphical
>   output is awfully slow. In windowed modes nothing
> changed - it's as fast
>   as before.
> 
>   When compiling SDL what configure options should
> be switched on/off so
>   that both fullscreen video and sound work
> perfectly?
> 
> Greetings...
> BiG OSHi


Hmmm... SMPEG with SDL_Mixer??? I have a feeling that
this problem bit me in the but a couple of times:

First make sure you pass zero for sdl_audio when you
call SMPEG_new() or SMPEG_new_descr().  This tells
smpeg that you (or in this case SDL_mixer) will handle
the audio yourself...

Also read smpeg/README.SDL_mixer about how to play the
smpeg audio output through SDL_mixer...

Best of luck,

-Loren


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




More information about the SDL mailing list