Jump to content

Audio files are not decoded in Phaser


shohan4556
 Share

Recommended Posts

Hello everybody, in my game I have 4 types of audio file (mp3,mp4,wav and ogg) of same sound but my files is not decoded properly I have tried this 

this.load.audio('jumpSound',['sounds/jump.wav','sounds/jump.ogg','sounds/jump.mp3','sounds/jump.m4a'],true);

when I have tried this 

console.log(this.cache.isSoundDecoded('jumpSound'));

it gives me false but inside cache it showing this Capture.png.

 my browser is chrome. 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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