[sdlsound] Porblems using SDL_sound

Ryan C. Gordon icculus at clutteredmind.org
Wed Jan 12 19:47:34 EST 2005


> But this doesn't work. The programm chrases only.

You didn't set an audio callback in SDL_OpenAudio(), and you aren't 
actually playing the sound anywhere.

If you just want to fire-and-forget an MP3, you might want to use 
SDL_mixer instead. SDL_sound only decodes the mp3, but you still have to 
get it to the sound card on your own.

--ryan.





More information about the sdlsound mailing list