MCPcopy
hub / github.com/layabox/LayaAir-v1 / WebAudioSound

Function WebAudioSound

src/plugins/autotest/bin/h5/laya.js:17205–17227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17203//class laya.media.webaudio.WebAudioSound extends laya.events.EventDispatcher
17204var WebAudioSound=(function(_super){
17205 function WebAudioSound(){
17206 /**
17207 *声音URL
17208 */
17209 this.url=null;
17210 /**
17211 *是否已加载完成
17212 */
17213 this.loaded=false;
17214 /**
17215 *声音文件数据
17216 */
17217 this.data=null;
17218 /**
17219 *声音原始文件数据
17220 */
17221 this.audioBuffer=null;
17222 /**
17223 *待播放的声音列表
17224 */
17225 this.__toPlays=null;
17226 WebAudioSound.__super.call(this);
17227 }
17228
17229 __class(WebAudioSound,'laya.media.webaudio.WebAudioSound',_super);
17230 var __proto=WebAudioSound.prototype;

Callers

nothing calls this directly

Calls 1

callMethod · 0.65

Tested by

no test coverage detected