Skip to content
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

Merged
merged 7 commits into from
Sep 8, 2016
Merged

Conversation

hoch
Copy link
Member

@hoch hoch commented Aug 25, 2016

Preview: https://hoch.github.io/web-audio-api/#AudioWorkletGlobalScope

  • Added an algorithm for registerProcessor() method in the ECMA script style.
  • Moved the AWGS section after the concept, because this is the first phase of using AudioWorklet.
  • Detailed the description and added an informative note.

@hoch
Copy link
Member Author

hoch commented Aug 25, 2016

@bfgeek Could you take a look at the refined sections? (The concepts + AudioWorkletGlobalScope)

<a>AudioWorkletNode</a>.
</dd>
<dt>
VoidFunction audioWorkletProcessorCtor
Copy link
Contributor

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

@hoch
Copy link
Member Author

hoch commented Sep 1, 2016

Any opinion @rtoy and @padenot?

<a>AudioWorkletProcessor</a>.
</p>
<p>
<a>AudioWorkletGlobalScope</a> has a <dfn>node name to processor
Copy link
Member

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.

Copy link
Member Author

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NotSupportedError exception

@hoch
Copy link
Member Author

hoch commented Sep 8, 2016

@joeberkovitz @padenot Is there any more to do here?

@rtoy
Copy link
Member

rtoy commented Sep 8, 2016

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants