Anyone tried this yet ?
I'm still having too much delay for the sound.play() method in air3.3 for android
It seems better when used in the simulatr but not on the device.
Let's share our experiences.
Can you please provide more details about the delay? Is it improved compared to the previous version? Is it the same? On what devices are you observing the delays? Details on these and the OS details you are using on the devices would be of great help.
Thanks and Regards,
My code is the simplest way you can use the Sound API to play an mp3.
_sound = new OuchSound() as Sound;
And then every time a button is pressed:
The sound's data does not have an inherent delay, i.e. its attack is before
the first 50ms.
On a Mac desktop, there is no noticeable delay. Using Flex 4.6 to compile
to both Android and iOS shows signifficant delay. On both devices, I can
hear my finger tap the screen and then the sound trigger at about 500ms
delay. The latency is even more noticeable in Android.
I think that this is a serious bug that needs to be addressed seriously if
Adobe really want to focus on gaming. I imagine tho that it should be
pretty simple to fix, just nobody pays attention to it and often forget the
importance of audio in gaming. Its not all about graphics...