Christopher Brannon
0436ae71c0
Mutex needs to be locked when waiting on the condition variable.
8 years ago
Reece H. Dunn
2893de65ac
Ensure that the code is consistently formatted.
8 years ago
Rui Batista
cc51af059f
Use condition variables in event.c instead of semaphores.
8 years ago
Ondřej Lysoněk
3817ee1e16
Moved speak_lib.h to espeak-ng directory
Moved include/espeak/speak_lib.h to include/espeak-ng/speak_lib.h and
created a symlink from the original location.
9 years ago
Reece H. Dunn
bd9eef8550
event: sleep_until_timeout_or_stop_request is not used, so remove it.
9 years ago
Reece H. Dunn
bb465a45d8
Move the clock_gettime2 and add_time_in_ms definitions to event.h.
9 years ago
Reece H. Dunn
4a2994d1d3
Remove calls to wave_get_remaining_time.
This logic was implemented to limit the number of audio events sent
to a device, but the logic is not too relevant in practice (these
calls return 0 most of the time), and the logic is broken (e.g. when
calling Synthesize with a very long block of text).
9 years ago
Reece H. Dunn
7d900fb8b0
Remove includes from internal header files.
9 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
9 years ago
Reece H. Dunn
9c5820f72a
Create an initial compatibility shim for unistd.h.
9 years ago
Reece H. Dunn
0ca520a4ec
Revert the gcc sign conversion warning fixes.
This reverts commits 0cc0300328
to
38d15f8f90
.
The 0cc03003
commit breaks MBROLA voice support. As such, there
may be other breakages in those commits.
9 years ago
Reece H. Dunn
aa3de904e8
Fix gcc sign conversion warnings in event.c.
9 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
9 years ago
Reece H. Dunn
a8eb65ee61
Fix the logic from commit 3343bb45b6274c92555b2619dbce8ff8547b0cf4 that caused the end of the speech to be clipped.
9 years ago
Reece H. Dunn
3343bb45b6
Make the event API use espeak_ng_STATUS.
9 years ago
Reece H. Dunn
2e88afeaa0
Move the clock_gettime2 and add_time_in_ms implementation to event.c to avoid code duplication.
9 years ago
Reece H. Dunn
b11d540718
Fix GCC -Wunused-parameter warnings.
9 years ago
Reece H. Dunn
e69c936329
Remove the debugging code.
The debugging code is done inconsistently, mainly to trace the
event and audio output logic. This makes it harder to understand
the code flow for logic that is not enabled by default.
As such the debugging code makes the code harder to maintain.
9 years ago
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
9 years ago
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
9 years ago
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
9 years ago
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
9 years ago
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
9 years ago
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
9 years ago
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
9 years ago
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
9 years ago
Reece H. Dunn
08821f262f
Remove commented out code.
9 years ago
Reece H. Dunn
f7dfc38dd7
Use the C compiler to build C files; restructuring.
This moves the libespeak source (*.cpp) files to src/libespeak-ng
and renames the C files (libespeak, espeak, speak) so they have
a .c file extension.
9 years ago
jonsd
eaba1458d3
[1.47.13]
Program changes to enable audio output from Windows DLL.
Language changes: an, de, en, nl, ta.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@365 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago
jonsd
10bd23b3b4
[1.47.12]
Change program code for espeak/libespeak to C, remove C++ features.
Language changes: af, ga, grc, hu, nl, sw, ta
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@364 d46cf337-b52f-0410-862d-fd96e6ae7743
12 years ago
Reece H. Dunn
6dd5529dd8
autotools: add support for disabling async command support (--without-async/--with-async=no)
12 years ago
jonsd
d18532991a
[1.45.45]
Fixed bug where SSML voice change didn't remember an initially specified Klatt variant.
Removed some unused variables and redundant initializations.
Patch to fix a spike from Klatt function setzeroabc()
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@275 d46cf337-b52f-0410-862d-fd96e6ae7743
14 years ago
jonsd
b053a790df
Program restructure and tidy-up.
Change Translator from Class to Struct, so avoiding use of Classes in eSpeak.
Make more functions and variables "extern".
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@209 d46cf337-b52f-0410-862d-fd96e6ae7743
16 years ago
jonsd
7580102e79
[1.31]
Return espeakEVENT_MARK events in AUDIO_OUTPUT_PLAYBACK mode.
New phoneme [ _;_ ] a pause which ends intonation for a clause (the equivalent of a comma).
lang=en-r: adjusted phonemes
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@129 d46cf337-b52f-0410-862d-fd96e6ae7743
17 years ago
jonsd
05aeea7858
[1.27] Only keep one primary stress when adding prefixes.
Add stress_rule=4, altepenultimate stress.
Change license to GPL version 3.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@56 d46cf337-b52f-0410-862d-fd96e6ae7743
18 years ago
jonsd
97b217c26a
[1.25.15] Callback in AUDIO_OUTPUT_PLAYBACK mode gives a zero-terminated list of events.
espeak_SetSynthCallback() can be called either before or after espeak_Initialize().
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@31 d46cf337-b52f-0410-862d-fd96e6ae7743
18 years ago
jonsd
42303257fd
Fix indentation.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@24 d46cf337-b52f-0410-862d-fd96e6ae7743
18 years ago
jonsd
8d59235f7a
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@1 d46cf337-b52f-0410-862d-fd96e6ae7743
18 years ago