Not all OGG files supported?

Hi,

I’m using SDL_mixer in my game to play the SFX. They are all OGG files,
and I’ve found that some of them are not properly loaded, in fact, the
computer hangs…
I’ve traced it in the debugger, and the program hangs in the call
"Mix_LoadWAV(filename)". This happens only with 3 out of 24 OGG files.
But CoolEdit or Winamp can load them perfectly!

Is there any restriction in the kind of OGG files you can load with
SDL_mixer?

thanks

Hi,

I’m using SDL_mixer in my game to play the SFX. They are all OGG files,
and I’ve found that some of them are not properly loaded, in fact, the
computer hangs…
I’ve traced it in the debugger, and the program hangs in the call
"Mix_LoadWAV(filename)". This happens only with 3 out of 24 OGG files.
But CoolEdit or Winamp can load them perfectly!

Try stepping into the Mix_LoadWAV function after you build a debug
version of the library. I’m guessing that the ogg functions are hanging,
which would mean that you should rebuild SDL_mixer with updated versions
of the Ogg Vorbis libraries.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment