PlayEffect lagging and format support


#1

Hey,

I’m currently playing around with the Sound engine from cocos, as far as i remember .ogg doesn’t work on all platforms or at least has some issues? not sure if this is still true. I’ve read in some discussions that .aac should be fine on all platforms, but it doesn’t work on Windows? can anyone tell me which Format works on all platforms? best would be .aac and .ogg since they are smaller.

And I’m getting huge Frame Drops when playing an effect on Windows, even if I preload the effect which is really strange? does anyone know about this Performance issue? so far I can’t really tell what it might be, since the VS profiler didn’t give any good profiler results. I’ve only noticed that each time a thread exits when the lag happens, but this might be just the Audio thread i guess,


#2

it seems to work fine on android, but not 100% sure,
in windows it is really bad though


#3

still didn’t find a solution to this, playing sfx is really annying since it caues lags for animations.
still need help there


#4

Here are the formats: http://cocos2d-x.org/docs/cocos2d-x/en/audio/getting_started.html