[SDL] ogg as mixchunk?
neil at cloudsprinter.com
neil at cloudsprinter.com
Sat Jan 5 05:30:25 PST 2008
>> can anyone guide me as to how to load / convert a ogg file into a mix chunk?
<clip>
>> any help, tips, whatever please...
>>
>
> Hi, I don' t know if this will be of any help, but I load ogg sound
> affects using SDL_mixer by calling Mix_LoadWAV(). It returns a
> Mix_Chunk*.
ok.. i thought i had tried this and crashed.. i'll try again.. the
whole WAV bit
kinda throws me off.
> I load all of my sound files during the init phase, and
> store the Mix_Chunks in a map.
i dont know what you mean hear by map.. could you elaborate a bit?
> Then play them as I need them. I recently
> had to compile SDL_mixer and libvorbis for linux and windows so I may be
> able to help if you run into any problems getting those installed.
>
when i get the chance i am curretntly testing RISC OS versions of various SDL
and related libaries.. there isnt much optimisation going on behind the scenes
and i am not of the skills to do so, last time i attempted to test OGG playing
as music it was a bit painful.. but that was on a 245mhz StrongARM chip.
so that guy that was asking about ARM code in SDL...... RISC OS needs you ;)
More information about the SDL
mailing list