Merge pull request #2554 from umbrellaPP/v1.9-release

修复jsb 音频黑屏问题
This commit is contained in:
pandamicro
2018-04-17 20:06:34 +08:00
committed by GitHub
+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)