From 2aa406f0d84bf7005e0a34265c2b80663c0a0a6f Mon Sep 17 00:00:00 2001 From: PP Date: Tue, 17 Apr 2018 18:45:25 +0800 Subject: [PATCH] fix jsb audio bug --- jsb/jsb-audio.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jsb/jsb-audio.js b/jsb/jsb-audio.js index c97d58e13d..95b20c6b0a 100644 --- a/jsb/jsb-audio.js +++ b/jsb/jsb-audio.js @@ -71,6 +71,10 @@ cc.Audio.Type = { audioEngine.stop(this.id); }; + proto.destroy = function () { + + }; + proto.setLoop = function (loop) { this.loop = loop; audioEngine.setLoop(this.id, loop)