Jump to content

Huge size of audio files on iOS with Cordova and Phaser 2


JulienDX
 Share

Recommended Posts

Hello !

(I am a french developer, sorry for my english ^^)

I develop a mobile application with cordova and phaser 2.
The application contains a lot of audio files (more than 190) and I use the "setDecodedCallback" function after loading the audio files.
Unfortunately when I test the application on an iPad, the decoding increases the memory usage to more than 600mb (while the total of my audio files is about 40mb). And sometimes, it makes the application crash.
Is it normal for the "setDecodedCallback" function to increase memory usage to this point?
What is the best way to load a lot of audio files with phaser for an iOS application?

Thank you in advance for your answer!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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