mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 05:38:34 +00:00
format
This commit is contained in:
parent
98346261ed
commit
440ce0cd3b
@ -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…
x
Reference in New Issue
Block a user