Hi all,
I preload audio like so ( I assume preloading means declaring somewhere in the main scope :
local audioCorrect = media.newEventSound("answerCorrect.wav")
and then play it like so :
function playAudioCorrect() media.playEventSound(audioCorrect) end
It plays fine in the simulator, but does not play after installing in my android phone. ( LG Nexus 5)
After looking at this page :
https://docs.coronalabs.com/guide/media/audioSystem/index.html
I have tried .ogg, and .wav but they both have the same problem
Saw a similar question here :
But there wasn’t an answer.
What could be the problem ?
Thanks in advance!