Ive setup sounds for my button presses (extended ui to call a function on press), the first time a sound is played there is a noticeable lag between the press and the sound playing, after that everything works fine.
Is this due to the iPhone powering on the speakers / sound circuits? If so could Corona be made to do that automatically or to play a blank sound after launch (thats something im going to experiment with myself)
Matt [import]uid: 5354 topic_id: 986 reply_id: 300986[/import]
Ive tested now on a 3G(3.1.3) and a 3GS(4 beta1) and the 1st time a sound plays there is a noticeable delay.
Ive noticed this only because its attached to a button and so should be nearly instant (as it is every other time). It only happens on the first play of the sound.
I can also confirm that playing a silent 1sec sound before the main loop doesn’t work (was a fix for apple laptops powering down speakers which when activated again would make an annoying pip sound) [import]uid: 5354 topic_id: 986 reply_id: 2317[/import]
Just thought I would add that I was experiencing the same problem as this until I had music playing first. [import]uid: 5833 topic_id: 986 reply_id: 6819[/import]