Hi y’all,
I’m doing final touches on my game and I just added background music.
I’m using audio.loadStream:
local backgroundMusic = audio.loadStream("sounds/bgloop.m4a")
local backgroundMusicChannel = audio.play( backgroundMusic, { channel=1, loops=-1} )
media.setSoundVolume( 0.4 )
You may noticed that I have the file as .m4a and under a ‘sounds’ folder.
Well, I changed it to .WAV, .MP3 in and out of the sounds folder and into the root and same thing…All plays and loops correctly until the openfeint dashboard pops up.
I might add that I have this on the menu screen and it keeps on playing throughout the entire game.
Only option is to turn audio on/off. [import]uid: 7856 topic_id: 5660 reply_id: 19467[/import]