Export to GitHub

bennugd-wii - issue #7

Stopping OGG playback tends to crash BennuGD


Posted on May 3, 2010 by Quick Giraffe

As reported by BoMbErLiNk, the following code crashes on Bennu for Wii. It works fine on upstream BennuGD on Linux. Maybe a SDL_Mixer limitation?

Must investigate further.

=============================================================== PROGRAM wiibug1; import "mod_video"; import "mod_sound"; import "mod_key"; import "mod_text"; import "mod_proc";

GLOBAL intro; cancion;

BEGIN set_mode(320,240,16);

write(0,160,120,4,"EN BREVE VA A PETAR.."); intro=load_song("1a.ogg"); cancion=load_song("1.ogg");

play_song(intro,0);

LOOP

IF (NOT is_playing_song()) IF (intro>0) stop_song(); unload_song(intro); intro=0; END play_song(cancion,0); END

IF (key(_esc)) exit(); END

FRAME; END END

Comment #1

Posted on May 8, 2010 by Quick Giraffe

The bug is not really related to loading multiple songs in Bennu. Instead, it is related to what happens when you stop OGG playback. This might be a SDL_mixer or libtremor issue...

Status: Accepted

Labels:
Type-Defect Priority-High