[]设置声音 在 chrome 的一个警告

laya.core.js:16299 [Deprecation] GainNode.gain.value setter smoothing is deprecated and will be removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/f ... 29152 for more details.
(anonymous) @ laya.core.js:16299
SoundManager.playSound @ laya.core.js:4878
SoundManager.playSound @ SoundManager.ts:13
LoginView.login @ LoginView.ts:24
__proto.runWith @ laya.core.js:711
__proto.event @ laya.core.js:488
__proto.sendEvents @ laya.core.js:3263
__proto.onMouseUp @ laya.core.js:3422
__proto.onMouseUp @ laya.core.js:2966
__proto.check @ laya.core.js:2993
__proto.check @ laya.core.js:2986
__proto.check @ laya.core.js:2986
__proto.check @ laya.core.js:2986
__proto.check @ laya.core.js:2986
__proto.runEvent @ laya.core.js:3047
__proto.render @ laya.core.js:17833
__proto._loop @ laya.core.js:17792
loop @ laya.core.js:5221
已邀请:

Aar0n

赞同来自:

上面已经告诉你办法了, 你之前用的那个弃用了,而且要去除, 你想用smoothing 就用 setTargetAtTime()  然后还给了你个链接

要回复问题请先

商务合作
商务合作