我正在编译一个C文件,该文件在OS X 10.9中使用碳API进行语音合成。
以下代码没有任何说法。怎么了?
#include<stdio.h>
#include<ApplicationServices/ApplicationServices.h>
#include<CoreFoundation/CoreFoundation.h>
#include<CoreAudio/CoreAudio.h>
#include<stdbool.h>
int main(int argc, const char * argv[])
{
SpeechChannel speechchannel;
NewSpeechChannel( NULL, &speechchannel );
SpeakCFString(speechchannel, CFSTR("reading reading reading..."), NULL);
// insert code here...
printf("Hello, World!\n");
}