About audio.play latency in phone

I’m creating a game and been having problems with playing audio. There is a latency before the phone plays the audio. It should come just after the tap but now it takes too long to play, the audio effects are one step behind all the time.

Its very annoying, and the sounds are useless unles i can figure how to fix this. Has anyone experienced anythinf like this. In emulator the sounds play much better. I have a new Samsung Galaxy S3, so the phone should be allright.

This is a known problem on Android (It’s an Android problem, and not a Corona problem).
I think that the S3 comes with 4.0 installed, but it can be upgraded to 4.3. Later versions of Android have improved the latency when using the audio.* API.
You can also try using the media.* API for shorter sound effects. It has a better latency, however you lose multi-channel capabilities with this API.

Thanks ingemar. Changed to media.playsound and seems to work allright. Probably can use this in my app.

This is a known problem on Android (It’s an Android problem, and not a Corona problem).
I think that the S3 comes with 4.0 installed, but it can be upgraded to 4.3. Later versions of Android have improved the latency when using the audio.* API.
You can also try using the media.* API for shorter sound effects. It has a better latency, however you lose multi-channel capabilities with this API.

Thanks ingemar. Changed to media.playsound and seems to work allright. Probably can use this in my app.