Browse Source

Move the clock_gettime2 and add_time_in_ms definitions to event.h.

master
Reece H. Dunn 9 years ago
parent
commit
bb465a45d8

+ 0
- 1
src/libespeak-ng/event.c View File



#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;

+ 4
- 0
src/libespeak-ng/event.h View File

// 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

+ 1
- 1
src/libespeak-ng/fifo.c View File

#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

+ 0
- 1
src/libespeak-ng/synthdata.c View File

#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;

+ 0
- 4
src/libespeak-ng/wave.h View File

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

Loading…
Cancel
Save