| #include "speech.h" | #include "speech.h" | ||||
| #include "event.h" | #include "event.h" | ||||
| #include "wave.h" | |||||
| // my_mutex: protects my_thread_is_talking, | // my_mutex: protects my_thread_is_talking, | ||||
| static pthread_mutex_t my_mutex; | static pthread_mutex_t my_mutex; |
| // Last function to be called. | // Last function to be called. | ||||
| void event_terminate(); | void event_terminate(); | ||||
| // general functions | |||||
| void clock_gettime2(struct timespec *ts); | |||||
| void add_time_in_ms(struct timespec *ts, int time_in_ms); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif |
| #include "speech.h" | #include "speech.h" | ||||
| #include "espeak_command.h" | #include "espeak_command.h" | ||||
| #include "fifo.h" | #include "fifo.h" | ||||
| #include "wave.h" | |||||
| #include "event.h" | |||||
| // my_mutex: protects my_thread_is_talking, | // my_mutex: protects my_thread_is_talking, | ||||
| // my_stop_is_required, and the command fifo | // my_stop_is_required, and the command fifo |
| #include "synthesize.h" | #include "synthesize.h" | ||||
| #include "voice.h" | #include "voice.h" | ||||
| #include "translate.h" | #include "translate.h" | ||||
| #include "wave.h" | |||||
| const char *version_string = "1.48.15 16.Apr.15"; | const char *version_string = "1.48.15 16.Apr.15"; | ||||
| const int version_phdata = 0x014801; | const int version_phdata = 0x014801; |
| extern void wave_flush(void *theHandler); | extern void wave_flush(void *theHandler); | ||||
| extern void wave_terminate(); | extern void wave_terminate(); | ||||
| // general functions | |||||
| extern void clock_gettime2(struct timespec *ts); | |||||
| extern void add_time_in_ms(struct timespec *ts, int time_in_ms); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif |