We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the issue
Reading the AudioRenderCapacity spec, it is unclear to me what the behaviour should be when calling start repeatedly. Should it:
start
Where Is It
https://webaudio.github.io/web-audio-api/#ref-for-dom-audiorendercapacity-start
Starts metric collection and analysis. This will repeatedly fire an event named update at AudioRenderCapacity, using AudioRenderCapacityEvent, with the given update interval in AudioRenderCapacityOptions.
Additional Information
None
The text was updated successfully, but these errors were encountered:
The second option looks reasonable. I'll work on PR for the updated spec text.
Sorry, something went wrong.
Proposal, reset clock and apply new options with subsequent calls. (option 2)
Teleconference 4/20: We had a bit more discussion on this, but there still are issues to resolve.
For example, when calling start() with the same interval value, we cannot distinguish if the next callback is from the previous onset or the latest one. We should look at the requestAnimationFrame algorithm or setTimeout for a solution: https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#dom-animationframeprovider-requestanimationframe
start()
stop()
hoch
Successfully merging a pull request may close this issue.
Describe the issue
Reading the AudioRenderCapacity spec, it is unclear to me what the behaviour should be when calling
start
repeatedly. Should it:Where Is It
https://webaudio.github.io/web-audio-api/#ref-for-dom-audiorendercapacity-start
Additional Information
None
The text was updated successfully, but these errors were encountered: