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).