cocos-enhance-kit/jsb-adapter/builtin/jsb_audioengine.js
2022-06-25 00:23:03 +08:00

17 lines
257 B
JavaScript

(function (jsb) {
if (!jsb || !jsb.AudioEngine)
return
jsb.AudioEngine.AudioState = {
ERROR: -1,
INITIALZING: 0,
PLAYING: 1,
PAUSED: 2,
STOPPED: 3,
}
jsb.AudioEngine.INVALID_AUDIO_ID = -1
jsb.AudioEngine.TIME_UNKNOWN = -1
})(jsb)