[SDL] Examples for SDL_sound

Gaëtan de Menten ged at bugfactory.org
Wed Jul 31 15:28:01 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.
oups, didn't think about this... good idea... ;-)

Thanks,
Gaëtan.






More information about the SDL mailing list