[perf] disconnect Offline AudioNode connections in generateReverb
This commit is contained in:
parent
0960741156
commit
92d87093e0
1 changed files with 2 additions and 0 deletions
|
|
@ -104,6 +104,8 @@ var applyGradualLowpass = function (input, lpFreqStart, lpFreqEnd, lpFreqEndAt,
|
|||
player.start();
|
||||
context.oncomplete = function (event) {
|
||||
callback(event.renderedBuffer);
|
||||
filter.disconnect();
|
||||
player.disconnect();
|
||||
};
|
||||
context.startRendering();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue