[SDL] Re: Picking a specific audio and video driver

Olivier Dagenais olivier.dagenais at canada.com
Mon Apr 9 21:22:58 PDT 2001


> > Seeing as how SDL_Init calls SDL_InitSubSystem (right after
clearing
> > the error(s)), which in turn calls the appropriate inits
(including
> > both above), the only "gotcha" that the "Win32 DirectX" situation
> > enforces (that I can see) is that Video is initialized before
Audio.
> > Is that why the comment/warning was written
> Yep, that's exactly right.

Might I recommend the comment specify this explicitely by saying
"SDL_InitVideo()" instead of "SDL_Init()", probably with the
explanation why this is so. (isn't it because DirectSound needs a
Handle to a Window?)

--
----------------------------------------------------------------------
Olivier A. Dagenais - Software Architect and Developer






More information about the SDL mailing list