Jump to content

Audio problems on android.


j0hnskot
 Share

Recommended Posts

Hello!

I was testing my gaming on android and there is a problem with the music im using. 

The music starts after a huge delay. Is there a common problem? Any way to get around this?

 

Edit: on cocoonjs launcher the sound works perfectly. I guess this is a browser issue?

Link to comment
Share on other sites

I have no experience with Phaser + Android (only Phaset + HTML 5  and Android + other frameworks), but can't you use .WAV instead of ogg files?

 

I think that with WAV files you won't have to wait for decoding.

 

Other think you can do is to download first your audio files and add some animation in the preloader while it's decoded. Did you see this code? Pay attention to update method.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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