I face a problem now with SimpleAudioEngine's playEffect.
I build my binary target OS 2.2.1 device.
Both background music and effect music works perfectly in iPod Touch 1st Gen (OS 3.0) and iPhone 3GS (OS 3.1).
However, the same binary failed the effect in iPod Touch 2nd Gen (OS 2.2.1 JB) (Sorry for a JB version because it is a second hand device and not JB by me)
I also tested my code with OS 2.2.1 simulator and it works well in Macbook Pro.
The OpenAL / AVFoundation / AudioToolbox framework is import from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/System/Library/Frameworks.
Please if any one know what may cause this problem? Is the frameworks version problem? or a problem of the OS 2.2.1 device?
Thank you very much for you help.
I've search and read following post before posting this thread. And it seems that I'm not facing the same problem with the author of the following post.
http://www.cocos2d-iphone.org/forum/topic/433#post-2524
Thank you again for your help.