Fix codeformat
This commit is contained in:
parent
71d1fe99e4
commit
2db30a710b
1 changed files with 4 additions and 4 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue