-
Notifications
You must be signed in to change notification settings - Fork 167
MediaStreamAudioSourceNode constructor has weird check for AudioContext #2149
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
Comments
Yeah, these are all from the time when we didn't have a clear distinction between |
rtoy
added a commit
to rtoy/web-audio-api
that referenced
this issue
Feb 13, 2020
In the constructor algorithm for all of the Media nodes, the first item was a check that the context was an AudioContext. But the constructor requires an AudioContext, so the check is useless. Remove them.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://webaudio.github.io/web-audio-api/#dom-mediastreamaudiosourcenode-mediastreamaudiosourcenode step 1 says:
but the arg is declared as
AudioContext
in the IDL, so how could it not be anAudioContext
? Is it possible this dates back to beforeBaseAudioContext
existed?The text was updated successfully, but these errors were encountered: