-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polishing AudioWorkletGlobalScope section #945
Conversation
…or the regestiration process
@bfgeek Could you take a look at the refined sections? (The concepts + AudioWorkletGlobalScope) |
<a>AudioWorkletNode</a>. | ||
</dd> | ||
<dt> | ||
VoidFunction audioWorkletProcessorCtor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call this arg processorCtor
to reconcile it with the above algorithmic description
<a>AudioWorkletProcessor</a>. | ||
</p> | ||
<p> | ||
<a>AudioWorkletGlobalScope</a> has a <dfn>node name to processor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mark "node name to processor definition map" as a definition, but I don't see how this is defined in any way here. I think you need to expand this somehow if you really want to define this here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a short description about it.
agent must run the following steps: | ||
</p> | ||
<ol> | ||
<li>If the <code><em>name</em></code> exists as a key in the | ||
<a>node name to processor definition map</a>, throw a | ||
<code>NotSupportedError</code> and abort all these steps. | ||
<code>NotSupportedError</code> and abort all these steps because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NotSupportedError exception
@joeberkovitz @padenot Is there any more to do here? |
lgtm |
Preview: https://hoch.github.io/web-audio-api/#AudioWorkletGlobalScope
registerProcessor()
method in the ECMA script style.