This is an amd-ready audio load/play module
- Loads a sound file from an url, prepares it and stores it in the local buffer. Upon completion the callback is invoked with an id that can be used to play the sound.
- Loads all sounds, specified in the array. Upon completion the callback is invoked, passing a hash that maps resourceIds that correspond to the filenames without path, specified in the urls aray to audioIds that can be used to play sounds.
- Play the sound
- Stop the sound
- Will try to decode the data from the arraybuffer, invoking the callback with audioId on success, throwing an exception on failure.