fix jsb audio bug

This commit is contained in:
PP
2018-04-17 18:45:25 +08:00
parent 0ec1336470
commit 2aa406f0d8
+4
View File
@@ -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)