Advertisement
Guest User

Untitled

a guest
Jul 4th, 2013
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. CFStringRef aString = CFStringCreateWithCString (
  2. NULL,
  3. SpManStr,
  4. kCFStringEncodingASCII
  5. );
  6. // CFStringRef aString = CFSTR(prosoStr);
  7. SpeechChannel speechchannel;
  8. NewSpeechChannel( NULL, &speechchannel );
  9.  
  10.  
  11. SetSpeechProperty(speechchannel,kSpeechInputModeProperty,kSpeechModePhoneme);
  12.  
  13.  
  14. SpeakCFString(speechchannel, aString, NULL);
  15.  
  16. //printf("%d\n", NewSpeechChannel( NULL, &speechchannel ) );
  17. //printf("%d\n", SpeechManagerVersion() );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement