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

Does not wait for AudioContext to be ready after autoResume #643

Closed
niklasf opened this issue Oct 29, 2016 · 3 comments
Closed

Does not wait for AudioContext to be ready after autoResume #643

niklasf opened this issue Oct 29, 2016 · 3 comments

Comments

@niklasf
Copy link

niklasf commented Oct 29, 2016

The start of sounds will be cut off after an auto resume, short sounds will not be heard at all. Experiencing this in Firefox 49.0.2 but not in Chrome.

<script src="../src/howler.core.js"></script>
<script>
var h = new Howl({
  src: ['Move.ogg', 'Move.mp3']
});
h.play();
setTimeout(function () {
  console.log('tick');
  h.play();
}, 31000);
</script>

Expected: Hear Move.ogg twice at an interval of 31s, actual: hearing only the first one

@goldfire
Copy link
Owner

Thanks for catching this, 3abbeed should fix this.

@isaacl
Copy link

isaacl commented Nov 14, 2016

@goldfire Are you planning a release for this commit? If not, do you have an idea when the next minor release will be?

@goldfire
Copy link
Owner

@isaacl I should have time to get a new release out on Friday or this weekend. I've got a few other small things I want to get in it as well.

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