OK…
It’s a note for everybody want to resolve the crash problem on S2.
I found there are many report that SoundPool may the root cause make S2 crash.
Here is a thread on google forum which talked about this :
http://code.google.com/p/android/issues/detail?id=17623
And there is someone who said you can replace the SoundPool with OpenSL by shared library.
Here is the link :
http://www.grayfinstudios.com/post?id=ag1ncmF5Zmlud2ViYXBwcgwLEgRQb3N0GIHuBQw
Hope these information will help you.
Thank you.
Thank you.
But OpenSL is available since android2.3.
Dear Minggo:
Yes, I know it, and the article mentioned about that too.
So maybe we can have a switch choice between S2 or non-S2.
This will be worth since S2 almost have half market on Android-Platform.
Ho do you think about this ?
zhangxm
February 9, 2012, 10:20am
4
Yes, I think it is worth doing it.
I checked issue a three month ago in other library.
OpenSL solve the problem.
Using soundpool in galaxyS2 has a problem. Phone freezes(not respond) sometimes. ( in soundpool.play function )
Chainging soundpool to OpenSL solve the problem.
Sorry to my english…… T.T
It’s cool !
Could you share the solution on cocos2d-x, so that we can make our games run smoothly on S2 ?
Thank you in advanced.
JCB42
March 16, 2012, 1:54pm
11
is someone start something about that ? or a date for 1.0.3 path ? (or just a date for openSL patch ?)
Guys, I found the OpenSL ES has implemented and released.
You may tried the news link to check the detail, http://cocos2d-x.org/news/65