Problem is not in any plugin. I've created completely new blank project to test Audio. What I've added to the project:
1. On tap gesture on: spriteObject -> play sound "Click".
2. On touched: spriteObject2 -> play sound "Click".
3. Every 1 second substact 1 from counter -> if counter == 0 then play sound "Click". (I wanted to test here if TAP event was delaying or play sound)
RESULTS:
a) In C2 preview mode it works good.
b) In Intel XDK emulate mode it works good.
c) In Intel XDK Debug mode (run app via USB on my mobile) sound delays about 0,5s for every above mentioned step 1, 2 and 3.
d) Same delay as above for app installed on mobile with APK.
I have the newest C2 version and newest Intel XDK version. There is absolutely no other plugin involved in this test. It is really hard to believe that only I have this problem because I am not doing anything fancy - everything is out of the box.
Tested on Samsung Galaxy S4, Sony Xperia Z1, and some old LG (I don't know what is it exactly).
Can someone confirm that he is using Audio object with Cordova + Intel XDK and it works fine without any delay? Any clue what can be done? How to debug the problem? I'm out of ideas already.