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

Native Audio connection: pause event does not fire if src is cleared in the same event loop #11

Closed
noslouch opened this issue Sep 26, 2016 · 0 comments

Comments

@noslouch
Copy link
Contributor

noslouch commented Sep 26, 2016

Exhibited in this fiddle.

So if the setAttribute('src', '') happens in the same event loop as the .pause() call, the pause event won't fire, and the state won't be published to the rest of the app.

Streams! who knew they'd be so sensitive.

I guess this could be solved by an Ember.run.next in stop. The cleared attribute needs to happen after the call to native pause

@jkeen jkeen closed this as completed in 9e85085 Sep 27, 2016
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

1 participant