format
This commit is contained in:
parent
98346261ed
commit
440ce0cd3b
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ const getFrequencyFromValue = (value) => {
|
||||||
};
|
};
|
||||||
function destroyAudioWorkletNode(node) {
|
function destroyAudioWorkletNode(node) {
|
||||||
if (node == null) {
|
if (node == null) {
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
node.disconnect();
|
node.disconnect();
|
||||||
node.parameters.get('end')?.setValueAtTime(0, 0);
|
node.parameters.get('end')?.setValueAtTime(0, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue