Hello,
I am using playBackgroundMusic() method to play my music files. I have set the loop parameter to true. I have tried (.wav, .ogg, .mp3, .mp4, .m4a) formats.
The problem is that the file is looping but it is not looping seamlessly on android devices. It loops perfectly well on iphone, ipad.
Every-time the file end is reached there is this small gap kinda things and then it plays again. The gap is for a fraction of a second but noticeable. I have tried 5-6 different sound and also changed the formats. No Luck
I have also build the “tests” project on my android device and played the CocosDenshion Test. It seems that even that is having a problem with seamless looping.
Has anyone trEed this?? I would really appreciate if any one pitches in with their idea.
If i use playeffect() then the sound loops but i do not want to use playeffect for playing music files.
NOTE :- I am using cocos2d-1.0.1-x-0.11.0 version. Which is the latest.