[SDL] SDL_Init

Ryan C. Gordon icculus at icculus.org
Fri Mar 2 15:55:50 PST 2007


Chris Dobbs wrote:
> 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...?

Is it possible that SDL found an arts or esound daemon that accepts 
connections but can't actually play sound?

--ryan.



More information about the SDL mailing list