Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CFStringRef aString = CFStringCreateWithCString (
- NULL,
- SpManStr,
- kCFStringEncodingASCII
- );
- // CFStringRef aString = CFSTR(prosoStr);
- SpeechChannel speechchannel;
- NewSpeechChannel( NULL, &speechchannel );
- SetSpeechProperty(speechchannel,kSpeechInputModeProperty,kSpeechModePhoneme);
- SpeakCFString(speechchannel, aString, NULL);
- //printf("%d\n", NewSpeechChannel( NULL, &speechchannel ) );
- //printf("%d\n", SpeechManagerVersion() );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement