[SDL] Examples for SDL_sound

nbs nbs at sonic.net
Wed Jul 31 15:22:00 PDT 2002


On Thu, Aug 01, 2002 at 12:17:25AM +0200, Gaëtan de Menten wrote:
> > Seems like overkill and a waste of CPU power to play back OGG files for
> > sound effects. Why not convert them to wave via the Ogg/Vorbis library and
> > just use the standard SDL routines for audio?
> Coz it takes more space and I'm trying to keep my game as tiny as
> possible...

Convert them at runtime, then.  WAV is going to be _considerably_ faster
to play than OGG or MP3 for things like sound effects.

Use MPG and OGG for what they were meant for - long tracks of audio/music.

-bill!




More information about the SDL mailing list