There are two ways to play Audio. The audio.* api calls and the media.* api calls.
Audio is the better way (in most cases) because it’s using OpenAL, pushing hardware support to the OS and not to the app (or Corona SDK in this case). You get multiple channels, ability to control volume on each channel, etc. It’s much better than the media.* API’s because you can’t blend sounds etc.
However on Android, they have poorly implemented OpenAL and sounds lag a little bit. Since media.* works directly with the hardware, it can play short sounds faster. If you’re app requires more accurate sound timing, you probably should use media.* instead of audio.*.
But if dealing with this lag, isn’t that big of a deal, audio.* is the much better way to play sounds.
[import]uid: 199310 topic_id: 33649 reply_id: 140982[/import]