Closed #3352: Adding some codes for WebAudioEngine's compatibility.