I am developing an app .Problem is that all the audio runs perfectly fine for the first time but when I go back to the main menu the audio plays for some few seconds and then stops.Same thing happens for all the pages after that.Can anyone explain me why does it happen? Is it related to coding error as i cannot find any error in simulator.In simulator such problem does not exists.Please help me out if possible. [import]uid: 82446 topic_id: 17606 reply_id: 317606[/import]
Could you provide a little more information, like:
What device/OS/OS version are you targeting?
How are you managing scene transitions?
How long is the audio running on, after the screen change? Is the duration always the about the same?
-David
[import]uid: 96411 topic_id: 17606 reply_id: 66995[/import]
Please post more info as david97 suggested. There is a known issue with sounds using IOS5 [import]uid: 30314 topic_id: 17606 reply_id: 66998[/import]
I am using iPad vs iOS 5.0.1.
I am using director for changing the scenes.eg.director:changeScene(“menu”)
Let me explain you in details.
The app is basically an story book.
When I open my app for the first time all the audios play well .There are two sounds in each page: one is background and the other is voice over.But when I go back to main page and again go to page1 both the audio plays for 3-4 seconds and then stops.After that same thing happens for all the pages even for the menu page,the background sound stops after few sec.
Now if you want to know the length of the voice-over,its 41 sec(avg),mp3 and the background sound is 14 sec(avg),mp3.
Hope you got my point.
Now can you please tell me what to do?Is this a coding error or something else coz I aint have any clue what to do regarding this. [import]uid: 82446 topic_id: 17606 reply_id: 67374[/import]
This sounds like the iOS5 audio issue, possibly.
This was fixed in daily build .631 so build using that and it will work.
Daily builds are of course only for subscribers, so if you are not ready to buy a license you will need to wait until the next stable release.
Peach
[import]uid: 52491 topic_id: 17606 reply_id: 67391[/import]
That worked great.Really Awesome…Thanks… [import]uid: 82446 topic_id: 17606 reply_id: 67465[/import]