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

@@ -36,7 +36,6 @@

#include "speech.h"
#include "event.h"
#include "wave.h"

// my_mutex: protects my_thread_is_talking,
static pthread_mutex_t my_mutex;

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

@@ -61,6 +61,10 @@ espeak_ng_STATUS event_declare(espeak_EVENT *event);
// Last function to be called.
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
}
#endif

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

@@ -37,7 +37,7 @@
#include "speech.h"
#include "espeak_command.h"
#include "fifo.h"
#include "wave.h"
#include "event.h"

// my_mutex: protects my_thread_is_talking,
// my_stop_is_required, and the command fifo

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

@@ -37,7 +37,6 @@
#include "synthesize.h"
#include "voice.h"
#include "translate.h"
#include "wave.h"

const char *version_string = "1.48.15 16.Apr.15";
const int version_phdata = 0x014801;

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

@@ -31,10 +31,6 @@ extern int wave_close(void *theHandler);
extern void wave_flush(void *theHandler);
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
}
#endif

Loading…
Cancel
Save