-
Notifications
You must be signed in to change notification settings - Fork 58
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
Web Audio API: User-Selectable Render Quantum Size #895
Comments
Hi @hoch, we had a discussion in our breakout C meeting today. We have one question: Will this API also affect other web applications that running on the same device? |
No more than implementations have decided to make running an Creating and starting an This is the case for any program that make use of low-latency audio. Allowing authors to pick a buffer size, or asking the OS for the best buffer size to use, isn't going to negatively change the impact of a web application on the rest of the system, because the default always has been something quite impactful already. |
Re: @maxpassion
@padenot wrote a detailed explanation above! Additionally to answer your question more directly, "No". I also have a question. What's "break C meeting"? |
Sorry for the typo, it should be "breakout C meeting". |
こんにちは TAG-さん!
I'm requesting a TAG review of User-Selectable Render Quantum Size.
Historically, WebAudio has always rendered the graph in chunks of 128 frames, called a render quantum in the specification. This was a trade-off between function-call overhead and latency. A smaller number would reduce latency, but the function call overhead would increase. With a larger value, the overhead is reduced, but the latency increases because any change takes more audio frames to reach the output.
Further details:
We'd prefer the TAG provide feedback as (please delete all but the desired option):
💬 leave review feedback as a comment in this issue and @hoch @padenot
The text was updated successfully, but these errors were encountered: