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...