Merge branch 'master' of ssh://repo.or.cz/srv/git/bcl
[bcl.git] / speech.h
blob49bbd8a8d3868d407b928d6c84306633c8a08697
1 #ifndef _speech_h
2 #define _speech_h
4 #define SPEAK_BLOCKING 1
5 #define SPEAK_INTERRUPTING 2
7 extern DECLSPEC void initSpeech();
8 extern DECLSPEC void terminateSpeech();
9 extern DECLSPEC void speak(char * text,int flags);
10 extern DECLSPEC void setSpeechRate(int rate);
11 extern DECLSPEC int getSpeechRate();
12 extern DECLSPEC void setSpeechVoice(int voice);
13 extern DECLSPEC int getSpeechVoice();
14 extern DECLSPEC void stopSpeech();
16 // todo: add more prototypes
18 #endif