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

Clarify suspend/resume on AudioContexts #361

Closed
rtoy opened this issue Oct 6, 2014 · 2 comments
Closed

Clarify suspend/resume on AudioContexts #361

rtoy opened this issue Oct 6, 2014 · 2 comments
Assignees
Milestone

Comments

@rtoy
Copy link
Member

rtoy commented Oct 6, 2014

In issue #317, there is a discussion of suspend/resume. This needs to be spec'ed out a bit more.

In particular, I think suspend and resume can be called as many times as desired without errors. The Promise returned by resume() is resolved when the audio context has started processing the audio graph again.

What happens to the context currentTime needs to explained, but I think currentTime stops advancing once suspend is called and starts advancing some time after resume has been called.

@cwilso cwilso self-assigned this Oct 6, 2014
@cwilso cwilso added this to the Web Audio Last Call 1 milestone Oct 6, 2014
@rtoy
Copy link
Member Author

rtoy commented Oct 6, 2014

Presumably these are not allowed or at least do nothing for an OfflineAudioContext.

cwilso added a commit to cwilso/web-audio-api that referenced this issue Oct 20, 2014
rogerwang pushed a commit to nwjs/blink that referenced this issue Jan 28, 2015
@cwilso
Copy link
Contributor

cwilso commented Jun 2, 2015

Merged.

@cwilso cwilso closed this as completed Jun 2, 2015
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

No branches or pull requests

3 participants