Jump to content

Web Audio loop isn't working in Chrome


binyan
 Share

Recommended Posts

When looping audio in Chrome (using BABYLON.Sound), the audio only being played once and then being stopped. In Firefox everything works as expected.

First I experienced this issue in my project, then I checked the playground demo  and got the same result.

I use babylon 2.0, the playground uses babylon 2.1 beta. Chrome version is the latest at this moment -  42.0.2311.90 m

Link to comment
Share on other sites

It certainly appears to be a bug in Chrome.  Works for me in Firefox as well, but doesn't loop in Chrome - as everyone else has also reported.  I tried everything I know - detached sound from the mesh, replaced the function() in the Babylon.sound arguments with null, stripped everything out other than to play and loop the .wav file. Even created a new camera in a different position - and nada - no audio looping. 

 

I can't think of a single other thing to try.  Bugs like this really suck - since without loading into Firefox, one might spend hours thinking it's their script. I hope this one is fixed soon, and that someone lets the community know when it's working.  We always appriciate those who fix these issues. :)

 

Cheers.

 

DB

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...