A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
Reason:
The function AbstractSoundInstance_destroy makes the variable this._playbackResource null, and we get a can't access function release from null object error.
This doesn't free up the sound so eventually (after 27 sounds started on android and cordova) no more sounds will be played.
The function
p.destroy = function() {
Original:
Should be:
Reason: The function
AbstractSoundInstance_destroy
makes the variablethis._playbackResource
null, and we get a can't access functionrelease
from null object error. This doesn't free up the sound so eventually (after 27 sounds started on android and cordova) no more sounds will be played.