[SDL] Hi, need help with ogg music files using SDL_mixer...

SlntHero at aol.com SlntHero at aol.com
Tue Oct 3 05:46:36 PDT 2006


 
Hi, need help with ogg music files using SDL_mixer...
 
 
Hi,
 
I converted MP3s to OGG files using GoldWave, but when I load the OGG  files, 
the game crashes:
 
 
 
Unhandled exception at 0x7c918fea in TetriBattle3_100Percent.exe:  
0xC0000005: Access violation writing location 0x00000010.
 
 
void Audio::LoadMusic(void)
{

MusicTrack[0] =  Mix_LoadMUS("Music/Music_Track_1.ogg");
if(!MusicTrack[0])
{
fprintf(stderr,  "Couldn't load %s: %s\n", "Music/Music_Track_1.ogg",  
Mix_GetError());
}


Any ideas ?
(crashed on Mix_LoadMUS function call)
 
 
Jesse
_SLNTHERO at AOL.com_ (mailto:SLNTHERO at AOL.com) 
_http://www.SilentHeroProductions.com_ 
(http://www.silentheroproductions.com/) 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20061003/1706d2a9/attachment.htm 


More information about the SDL mailing list