Skip to content

Unknown reference in MediaStreamAudioDestinationNode constructor algorithm #2139

@rtoy

Description

@rtoy

Describe the issue
The constructor algorithm says:

  1. If context is not an AudioContext, throw an NotSupportedError and abort these steps.
  2. Initialize the AudioNode this, with c and option as arguments.

c isn't defined anywhere. This was probably supposed to be context, which is the name of the argument given to the constructor.

Where Is It
See https://webaudio.github.io/web-audio-api/#MediaStreamAudioDestinationNode-constructors

Additional Information
This also happens for the other Media nodes, and is also mentioned in the audio node constructor algorithm in step 4 in https://webaudio.github.io/web-audio-api/#AudioNode-creation. c is undefined there as well.

Metadata

Metadata

Assignees

Labels

Needs EditsDecision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions