Sdlmixer and audio subsystem

Do I need to init audio subsyste before using sdl mixer functions or is
enough to use mix_openaudio?–
Roger D. Vargas
ICQ: 117641572
Linux User: 180787

  • Much to learn you still have *
    Master Yoda, AOTC


Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que est? limpio.

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.