 Shawn
|
hi,helle:
thank you for your help last time,but now i have another question need your help.
I use the OpenEars in my cocos2d game,and when the game start,the PocketsphinxController begin recognizes user speech it works well,
but every time when i play a sound in the game like this: [[SimpleAudioEngine sharedEngine] playEffect:@”test.caf”]; the game will block ,i means the the main UI thread look like be blocked,do you known why the main thread be blocked?and how i play s sound when i start recognizes user speech in the app?thanks again!!
|
 Halle
|
Sorry Shawn, without knowing how SimpleAudioEngine works I don’t have a lot of input for you on that, and it doesn’t really sound like the threading issue is on the OpenEars side since you say the blocking is triggered by the call to SimpleAudioEngine. I know there are cocos2d-iphone users who use OpenEars, so maybe that board is a better place for this question since it seems to mostly be concerned with SimpleAudioEngine.
|