Valdis Vitolins
7ad277e39e
Fixed typo
8 years ago
Valdis Vitolins
d9d7006d7a
Comments about implementation for utf8_in2()
8 years ago
Valdis Vitolins
059543ceb0
Fix for issue #195 Different non-Latin diacritized consonants are wrongly considered as one doubled
8 years ago
Reece H. Dunn
2e84bbbcc8
Use autoconf to check for sys/endian.h.
8 years ago
Reece H. Dunn
58c655abae
Use autoconf to check for endian.h.
8 years ago
Reece H. Dunn
006bd842c3
Fix indentation in wavegen.c.
8 years ago
Valdis Vitolins
640f0d8160
Typo fixes
8 years ago
Reece H. Dunn
d828156576
Reduce buffer length to 50mS and don't override it when using eSpeak for audio.
8 years ago
Reece H. Dunn
dae9cda060
Revert "issue 172: fix sluggish speech for stopped speech."
This reverts commit f9ab812e00
.
8 years ago
Reece H. Dunn
a506dc5241
Fix setting saved_parameters in espeak_ng_Initialize.
This fixes a regression introduced in commit
e341068d57
.
This is needed for the case when espeak_Cancel is called before
calling espeak_Synth.
8 years ago
Reece H. Dunn
36d5a8b67b
Revert "Don't reset the parameters unless they have been set."
This reverts commit 26e453dd2f
.
8 years ago
Reece H. Dunn
26e453dd2f
Don't reset the parameters unless they have been set.
This is based on a patch by Samuel Thibault.
This is needed when espeak_Cancel is called before espeak_Synth,
like can be done in brltty.
8 years ago
Reece H. Dunn
2ccaa7f002
Improve the IsLetterGroup comments.
8 years ago
Reece H. Dunn
af1fae46de
Fix formatting of the previous changes to match style guidelines.
8 years ago
Valdis Vitolins
a621ad46e7
Implementation for issue #155
8 years ago
Reece H. Dunn
ae3e411f67
Build the ar language files.
8 years ago
Eitan Isaacson
5f5fc4886b
Add emscripten case to endian.h shim.
8 years ago
Reece H. Dunn
e269ad33b0
Build the jp language files.
8 years ago
Reece H. Dunn
f7ef3808f9
Move the Latvian and Lithuanian languages to the bat (Baltic) language family.
8 years ago
Reece H. Dunn
516699bbb2
Move the Basque language to the parent directory as it is a language isolate.
8 years ago
Reece H. Dunn
f37a9a388d
Move the Armenian languages to the Indo-European language family.
8 years ago
Reece H. Dunn
9bb9e98f84
Don't exclude the test voice directory.
This directory is no longer available, so the check is now
redundant.
8 years ago
Reece H. Dunn
cd9cc8e6e2
Unicode Character Data 9.0.0
8 years ago
Reece H. Dunn
f9ab812e00
issue 172: fix sluggish speech for stopped speech.
This restores the behaviour removed in commit
ca831d236a
.
When using eSpeak for audio and eSpeak in a server, using the async
speech requests, that code stopped the audio as soon as possible
from a cancel request. This allows servers like brltty to be more
responsive.
8 years ago
Reece H. Dunn
d2478cc453
Flush the audio if speech has stopped, drain the audio if speech is still active.
8 years ago
Reece H. Dunn
bc674081cd
Check the return from synth_callback in the second call to that function in Synthesize.
8 years ago
Reece H. Dunn
a48576a364
Return ENS_SPEECH_STOPPED from Synthesize when the speech callback returns >1 to stop the audio.
8 years ago
Reece H. Dunn
52abe35300
Revert "Stop audio output before fifo_stop is called"
This reverts commit 1b5ea47ea4
.
This patch is causing lockups when using this with servers like brltty.
8 years ago
Reece H. Dunn
f6536be5b2
Support determining the install path when installed to the 32-bit Windows program files directory.
8 years ago
Reece H. Dunn
0881659b80
endian.h: Use the Windows checks directly instead of creating a __WINDOWS__define.
8 years ago
Reece H. Dunn
f4654f1e3f
Extend the license of the endian.h modifications to match the original.
8 years ago
Reece H. Dunn
c6d44dd963
Fix endian.h on Windows (remove the sys/param.h include).
8 years ago
Reece H. Dunn
7946e49092
Add PACKAGE_VERSION to the Windows config.h, to allow it to build.
8 years ago
Rui Batista
b7a42e19a7
Remove commented code.
8 years ago
Rui Batista
1b5ea47ea4
Stop audio output before fifo_stop is called
This allows process_espeak_command to stop as soon as possible
Using emacspeak server with espeak-ng (still not published) found that audio was only being stoped after a command is processed (i.e. using pcaudiolib).
This fixes this issue.
8 years ago
Reece H. Dunn
02f0c83619
endian.h: Fix compilation on Linux.
8 years ago
Reece H. Dunn
55da41e085
endian.h: Use the compatibility shim conventions.
8 years ago
Reece H. Dunn
454c794c3a
endian.h: Remove additional blank lines.
8 years ago
Reece H. Dunn
636dc94aa1
endian.h: use C-style comments and wrap the comment to 80 characters.
8 years ago
Reece H. Dunn
4aade2fce7
Add an endian.h compatibility shim for portability.
8 years ago
Reece H. Dunn
f5d266db97
Don't write random bytes to the end of _phtrans files.
Patch by Samuel Thibault.
8 years ago
Reece H. Dunn
8320581675
Fix running espeak-ng on big-endian architectures.
Patch by Samuel Thibault.
8 years ago
Christopher Brannon
1d8cec684b
Fix a tricky thread synchronization bug.
If a command ran to completion before the thread calling
fifo_add_command woke up, that thread would wait forever
for the command to start, never realizing that it had already
finished.
8 years ago
Christopher Brannon
0436ae71c0
Mutex needs to be locked when waiting on the condition variable.
8 years ago
Christopher Brannon
ad436e1172
Clear my_stop_is_acknowledged before waiting on it.
8 years ago
Christopher Brannon
2e9ec8e06a
Fix race condition.
8 years ago
Christopher Brannon
0177e1d686
Do not try to re-lock an already-locked mutex.
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
Rui Batista
34f315363b
Fix hang when waiting for condition variables.
8 years ago