Hi,
I have a problem whenever I play more than one sound in my game, and I can’t hear some of them.
I have background music playing and I was afraid that there wasn’t enough free channels for me to play, but after looking in the corona api I saw that I had more than enough to do the task. (There would be the background music, and the max number of sounds that will play at the same time - excluding the bg music - would be like 3 or 4).
I load all the sounds the normal way, using the audio library :
local explosionSound = audio.loadSound("fx/bomb.mp3")
and whenever I need to play them, I call a function to do so :
function playExplosionSound() if (preference.getValue("fxIsOn")) then audio.findFreeChannel() audio.play(explosionSound) end end
For some reasons, some times the sound plays and some other doesn’t. I have tried changing the format of the audio files to .wav but the files were huge in size and Corona SDK kept complaining about it, so I changed it.
I thought that maybe I was trying to use the same channel as other assigned sound, and that’s why I added the call to that function.
Anyone has had a problem like this before? 
. I have an option in the game for turning on or off the audio settings (sounds and music) and the weird thing is that when I have the background music disabled, and only the fx enabled, the sound effects work just fine! I don’t see any errors in the way I declare the music background variables