boda_jsEnv/env_xbb_lastest_bo/env - 副本/AudioScheduledSourceNode.js
xuxiaobo-bobo 4a7e1ca141 '0611'
2023-06-11 23:54:09 +08:00

12 lines
1.6 KiB
JavaScript

// AudioScheduledSourceNode对象
AudioScheduledSourceNode = function AudioScheduledSourceNode(){let arg=arguments[0];
if (arg!='bobo' && !(this instanceof AudioScheduledSourceNode) ){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")};bodavm.toolsFunc.symbolProperty(this);
if (arg =='bobo'){console.log_copy('AudioScheduledSourceNode 实例化对象 --->',JSON.stringify_bo(arguments,function(k,v){if (v==window){return 'window'}else{return v}}))};}
bodavm.toolsFunc.safeProto(AudioScheduledSourceNode, "AudioScheduledSourceNode");
AudioScheduledSourceNode.prototype.__proto__=AudioNode.prototype;
AudioScheduledSourceNode.__proto__=AudioNode;
bodavm.toolsFunc.defineProperty(AudioScheduledSourceNode.prototype, "onended", {configurable:true, enumerable:true, get:function bodefault (){return bodavm.toolsFunc.dispatch(this, AudioScheduledSourceNode.prototype, "AudioScheduledSourceNode", "bodefault_get", arguments)}, set:function bodefault (){return bodavm.toolsFunc.dispatch(this, AudioScheduledSourceNode.prototype, "AudioScheduledSourceNode", "bodefault_set", arguments)}},);
bodavm.toolsFunc.defineProperty(AudioScheduledSourceNode.prototype, "start", {configurable:true, enumerable:true, writable:true, value:function start (){return bodavm.toolsFunc.dispatch(this, AudioScheduledSourceNode.prototype, "AudioScheduledSourceNode", "start", arguments)}},);
bodavm.toolsFunc.defineProperty(AudioScheduledSourceNode.prototype, "stop", {configurable:true, enumerable:true, writable:true, value:function stop (){return bodavm.toolsFunc.dispatch(this, AudioScheduledSourceNode.prototype, "AudioScheduledSourceNode", "stop", arguments)}},);