CreateJS / SoundJS

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.
http://createjs.com/
MIT License
4.44k stars 835 forks source link

MS Edge throws error at _cleanUpAudioNode calls #270

Open tjutasi opened 7 years ago

tjutasi commented 7 years ago

We got the following error frequently at MS Edge: WEBAUDIO17055: Cannot set buffer after it has been already been set. and it's point to the following line in _cleanUpAudioNode function: ... try { audioNode.buffer = s._scratchBuffer; } catch(e) {} ...

jloa commented 7 years ago

We got the same issue using mp3 files in edge, happens from time to time.

Rorejs commented 7 years ago

don´t write: createjs.Sound.stop() or soundinstance.stop() but: soundinstance.volume=0