Fix codeformat

This commit is contained in:
jeromew
2025-12-02 13:54:27 +00:00
parent 71d1fe99e4
commit 2db30a710b
+4 -4
View File
@@ -56,10 +56,10 @@ const lazyRegister = (o) => {
this._audioid = ++audioid;
const s = JSON.parse(initCache);
s.type = this.constructor.name === 'AudiographNode' ? this.constructor._parentClassName : this.constructor.name;
// special case for FeedbackDelayNode
// it is a subclass of DelayNode created in superdough/feedbackdelay.mjs
// it is not an AudioScheduledSourceNode anyway
if (s.type !== 'FeedbackDelayNode') {
// special case for FeedbackDelayNode
// it is a subclass of DelayNode created in superdough/feedbackdelay.mjs
// it is not an AudioScheduledSourceNode anyway
if (s.type !== 'FeedbackDelayNode') {
s.hasStop = window[s.type].prototype instanceof AudioScheduledSourceNode;
}
s.ac = this.context?.constructor.name || 'AudioParam';