Skip to content

parameterDescriptors is not looked up by the AudioWorkletProcessor constructor #1966

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

Closed
bzbarsky opened this issue Jul 5, 2019 · 2 comments · Fixed by #2024
Closed

parameterDescriptors is not looked up by the AudioWorkletProcessor constructor #1966

bzbarsky opened this issue Jul 5, 2019 · 2 comments · Fixed by #2024
Assignees

Comments

@bzbarsky
Copy link

bzbarsky commented Jul 5, 2019

https://webaudio.github.io/web-audio-api/#AudioWorkletProcessor-methods says:

may have a valid static property named parameterDescriptors which is an iterable of AudioParamDescriptor that is looked up by the AudioWorkletProcessor constructor

but that's not what happens, as far as I can tell. The property is consulted once, at registerProcessor time, then the resulting value is looked up by the AudioWorkletNode constructor. The AudioWorkletProcessor constructor has nothing to do with any of this, and in fact has no access to this data as far as I can tell.

@hoch hoch self-assigned this Jul 11, 2019
@hoch
Copy link
Member

hoch commented Aug 13, 2019

Yes. The later part is not really relevant to the AWP's method description. I think we should just remove it.

@hoch
Copy link
Member

hoch commented Aug 14, 2019

Closing via #2024.

@hoch hoch closed this as completed Aug 14, 2019
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 a pull request may close this issue.

2 participants