[SDL] problems loading ogg and wav music.

Solra Bizna sbizna at tejat.net
Sun Dec 23 15:52:30 PST 2007


On 12/23/07, James Barrett <xucaen at gmail.com> wrote:
> Then, when attempting to load a wav music file with the above two lines
> of code, Mix_GetError() returns "Module format not recognized"
Mix_LoadMUS_RW can only load music in either Ogg format or a
MikMod-compatible format. The other helper libraries it uses are only
capable of loading from a given filename, apparently.
At a guess, it tries loading it as an Ogg, and if that fails passes it
to MikMod to try as a Module (returning the error MikMod gave it on
failure).
-:sigma.SB


More information about the SDL mailing list