loadSong() bug
Displaying 1-1 of 1 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Kildorf

Hey, I discovered a bug with LoadSong()... it seems that it can't cope with multiple periods in the filename of the song. For instance... (as near as I can tell, at least)


int musicA = loadSong('music.one.ogg');
int musicB = loadSong('music_two.ogg');
log(str(musicA)); // will log '-1'
log(str(musicB)); // will log whatever handle was assigned above


I can provide some code that demonstrates this, if anyone wants me to. And, as a sidenote, loadSound can deal with multiple periods just fine, and I don't recall ever having any problems with other load functions either (though I haven't checked, either). Also, as my example suggests, I'm using .ogg files, which could also be the cause.

Heck, this may even be an fmod bug. Anyway, thought you'd want to know (maybe).

Posted on 2004-11-07 04:27:03


Displaying 1-1 of 1 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.