cocos2d-x/plugin-x — pull request #6 by gelldur (2013-10-18 22:17:08+00:00)
Title: iSpeech (android & ios)

Ok i added iSpeech for android and iOS. Its only fast and simple implementation it does what i need it works for me on Android and IOS.

Usage like in Hello* project
PluginParam* paramLanguage = new PluginParam ( "usenglishfemale" );
PluginParam* paramText = new PluginParam ( "Hello iSpeech test here. Please leave message" );

pPluginISpeech->callFuncWithParam ( "setVoiceType", paramLanguage, NULL );
int result = pPluginISpeech->callIntFuncWithParam ( "speak", paramText, NULL );

CCLog ( "Result code %d", result );

CC_SAFE_DELETE ( paramLanguage );
CC_SAFE_DELETE ( paramText );

Sorry i can't compile hello* project because i use cocos2dx master branch and i dont have time for recompiling and other stuff if you want merge it and fix if something doesn't compile.

Also i add project files for iOS but i really dont know a lot about iOS so sorry for that.