AudioEngine vs SimpleAudioEngine, What are the differences?

this is what i know so far!

new AudioEngine

easier than SimpleAudioEngine
makes use of the new c++11 std::thread
can play multiple sounds simultaneously
can invoke sound finished call blacks
there is no difference between sound effects and background music(play both background music/sound effects by using the same method)
you dont have to preload anything anymore(happens internally)
it’s still experimental

SimpleAudioEngine

simple and proven to work
as far as i know it supports: wav, mp3, ogg, caf, mid audio formats

my questions are:

1)- is there any performance difference between the two?
2)- what sound formats each of theme support?
3)- when to use one over the other?

2 Likes

Any advice would be much appreciated!

Hi. This theme is old, but current docs https://docs.cocos2d-x.org/cocos2d-x/en/audio/engines.html don’t answers.
Can anyone will answer this question?

This thread is duplication of the CocosDenshion::SimpleAudioEngine vs cocos2d::experimental::AudioEngine

1 Like