[SDL] SDL_Init

Chris Dobbs chris_dobbs at dobbscr.karoo.co.uk
Fri Mar 2 13:45:26 PST 2007


Gents,
Can I expect SDL_Init() to return an error code if I try to execute this on a machine which has NO audio devices attached?
I ran my stuff on a linux box that has no /dev/sdp device and SDL_Init(SDL_AUDIO) seemed to return a good status (0); the program failed later  when it tried to open the audio device but I would have thought the initialise should have caulked first...?
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070302/00a2cf3e/attachment.html 


More information about the SDL mailing list