[SDL] ogg as mixchunk?

neil at cloudsprinter.com neil at cloudsprinter.com
Fri Jan 4 07:55:58 PST 2008


can anyone guide me as to how to load / convert a ogg file into a mix chunk? i
have done a breif poking around for assistance on the web, but afaict ogg is
only loadable as a music, er, chunk.

apologies if i have missed the big neon lights telling me how to achieve this.

i have seen games that use oggs as sound files but am not sure if they are
loaded and then unencoded as ogg each time they play? if so then i think this
would be to proccesor intensive. and not so hot for low powered devices.

I have a few long sounds i want to use as a semi backing noise in my game, but
would prefer to use mixchunks, but would also prefer to use ogg's as the
original file format to keep disk size down.

any help, tips, whatever please...





More information about the SDL mailing list