I’m using cocos2d-x 2.0.3.
Testing an application with a SGS2, I got a crash using CocosDenshion in preloadEffect() or playEffect().
I try with a little .mp3 (1\~2 sec.) and little .wav (1\~2 sec.) with same result.
If I do not preload, crash in playeffect() or the effect is not played for the first time, but if the second time.
This is the Logcat result:
10-19 18:43:30.745: E/AudioEffect(10510): set(): AudioFlinger could not create effect, status: ~~1
10-19 18:43:30.745: E/libOpenSLES: Effect initCheck returned~~1
10-19 18:43:30.745: E/libOpenSLES(10510): EnvironmentalReverb effect initialization failed
10-19 18:43:30.745: D/OPENSL_ENGINE.CPP (10510): Failed to find static method id of getAssetManager
This works successfully in:
* Samsung Galaxy Tab 10.1 GT-P7510
- Android 3.1
* Samsung Galaxy S 3 GT-I9300
- Android 4.0.4
* iPhone 4s
- iOS 6
* iPad 2
- iOS 6
But crashs in:
Galaxy Galaxy S 2 GT-I9100
- Android 2.3.4