fixed webaudio playonload bug.

This commit is contained in:
fusijie
2018-02-02 18:12:28 +08:00
parent 8a7c539f92
commit 41a3486e3c
+1 -1
View File
@@ -352,7 +352,7 @@ var WebAudioElement = function (buffer, audio) {
var self = this;
clearTimeout(this._currextTimer);
this._currextTimer = setTimeout(function () {
if (sys.platform === sys.WECHAT_GAME && self._context.currentTime === 0) {
if (sys.platform !== sys.WECHAT_GAME && self._context.currentTime === 0) {
touchPlayList.push({
instance: self._audio,
offset: offset,