[SDL] sdlmixer and audio subsystem

Ryan C. Gordon icculus at clutteredmind.org
Wed May 21 19:14:02 PDT 2003


> Do I need to init audio subsyste before using sdl mixer functions or is
> enough to use mix_openaudio?

You need to call SDL_Init(SDL_INIT_AUDIO), but Mix_OpenAudio() will handle
actually opening the audio device.

--ryan.






More information about the SDL mailing list