Browse Source

Always enable the wave* code irrespective of whether USE_ASYNC is defined.

master
Reece H. Dunn 9 years ago
parent
commit
d7801617f7
3 changed files with 0 additions and 14 deletions
  1. 0
    5
      src/libespeak-ng/wave.c
  2. 0
    4
      src/libespeak-ng/wave_pulse.c
  3. 0
    5
      src/libespeak-ng/wave_sada.c

+ 0
- 5
src/libespeak-ng/wave.c View File

@@ -21,9 +21,6 @@

#include "speech.h"

#ifdef USE_ASYNC
// This source file is only used for asynchronious modes

#include <stdbool.h>
#include <stdio.h>
#include <string.h>
@@ -933,5 +930,3 @@ void add_time_in_ms(struct timespec *ts, int time_in_ms)
}
ts->tv_nsec = (long int)t_ns;
}

#endif

+ 0
- 4
src/libespeak-ng/wave_pulse.c View File

@@ -28,9 +28,6 @@

#include "speech.h"

#ifdef USE_ASYNC
// This source file is only used for asynchronious modes

#include <stdbool.h>
#include <stdio.h>
#include <string.h>
@@ -777,4 +774,3 @@ void add_time_in_ms(struct timespec *ts, int time_in_ms)
}

#endif
#endif

+ 0
- 5
src/libespeak-ng/wave_sada.c View File

@@ -21,9 +21,6 @@

#include "speech.h"

#ifdef USE_ASYNC
// This source file is only used for asynchronious modes

#include <errno.h>
#include <string.h>
#include <stropts.h>
@@ -526,5 +523,3 @@ void add_time_in_ms(struct timespec *ts, int time_in_ms)
}
ts->tv_nsec = (long int)t_ns;
}

#endif

Loading…
Cancel
Save