I recently had to stop working on my game due to some other client projects and came back, updated to a newer version because I liked some of the possible features and the audio is acting strange.
I searched and is sounds like some people found solutions with the latest builds but I have not (since I’m using the latest as of today) 2011.683.
The game starts up and uses loadStream on an MP3 file. This works. I then load another steam up for character selection and yet another on the map selection. I stop and check for nil and release correctly. Then you pick a level and the audio starts but begins skipping in the iPad simulator (and on the device).
This is frustrating since this just started after upgrading to a newer version. I’m playing with file formats now but it all worked perfectly before, I am having a hard time thinking the audio is having problems.
Also, when I use playSound I have NO problems. I’m currently just moving forward with that while I test with the other files tonight.
So did something change? Can you update me or let me know of anything I need to do differently?
[lua]local backChan = audio.findFreeChannel()
local backgroundSound = audio.loadStream(“res/dayIslandLevel.mp3”)
audio.play( backgroundSound, { channel=backChan, loops=-1, fadein=1000 } )[/lua]
Thanks,
David [import]uid: 27681 topic_id: 17788 reply_id: 317788[/import]
[import]uid: 52491 topic_id: 17788 reply_id: 67873[/import]