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

AudioBufferSourceNode missing context parameter #36292

Open
juj opened this issue Oct 10, 2024 · 0 comments
Open

AudioBufferSourceNode missing context parameter #36292

juj opened this issue Oct 10, 2024 · 0 comments
Labels
Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@juj
Copy link

juj commented Oct 10, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Response/arrayBuffer

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

Page has

const source = new AudioBufferSourceNode();

but that will throw

image

To fix, pass the Audio Context as the first argument:

const source = new AudioBufferSourceNode(audioCtx);

What did you expect to see?

.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@juj juj added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Oct 10, 2024
@github-actions github-actions bot added the Content:WebAPI Web API docs label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant