sound & fps drop-down
Hi,
I'm currently working on an iOS game using Flash pro cs5.5 and Air 3 sdk.
My game runs smoothly with 60fps using GPU rendering mode. That is till I start adding background music and sound effects.
Loading the sounds works well but once I start to play the sound files (mp3 files) the frame rate drops 5-10 fps. I have 2 layers of background sound and some sound effects and for each I'm using a different sound channel. with each mp3 file I'm starting to play the frame rate keeps dropping.
I'm using 128kbps mp3 files. I tried using even lower bit rate files and it didn't make a difference. beside the background music file that is 4mb all the rest are very small in size. I tried both loading the sound using external mp3 files and import the files into the library.
Is playing sounds on iOS using Air a known issue or maybe there's a work around using another file format?
I guess it might be an issue with the fact I'm using GPU rendering and the sound files need to use the CPU, but I'm not sure.
Any help would be appreciated,
Thanks!
Oz
