mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added loopStart, loopEnd and onended properties to AudioBufferSourceNode in the webaudioapi definition to match the latest W3C spec: http://www.w3.org/TR/webaudio/#AudioBufferSourceNode
This commit is contained in:
@@ -60,6 +60,9 @@ declare var footstepsBuffer: any;
|
||||
lowpassFilter.connect(wet1);
|
||||
dry1.connect(masterDry);
|
||||
wet1.connect(reverb);
|
||||
source1.loop = true;
|
||||
source1.loopStart = 0;
|
||||
source1.loopEnd = 300;
|
||||
|
||||
// Connect source2
|
||||
var dry2 = context.createGain();
|
||||
|
||||
Reference in New Issue
Block a user