Commit Graph
1044 Commits
Author SHA1 Message Date
Reece H. Dunn e269ad33b0 Build the jp language files. 2017-01-02 12:06:18 +00:00
Reece H. Dunn f7ef3808f9 Move the Latvian and Lithuanian languages to the bat (Baltic) language family. 2016-12-29 21:43:18 +00:00
Reece H. Dunn 516699bbb2 Move the Basque language to the parent directory as it is a language isolate. 2016-12-29 21:33:56 +00:00
Reece H. Dunn f37a9a388d Move the Armenian languages to the Indo-European language family. 2016-12-29 21:29:37 +00:00
Reece H. Dunn 9bb9e98f84 Don't exclude the test voice directory.
This directory is no longer available, so the check is now
redundant.
2016-12-29 15:06:55 +00:00
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.
2016-12-24 09:00:55 +00:00
Reece H. Dunn d2478cc453 Flush the audio if speech has stopped, drain the audio if speech is still active. 2016-12-23 19:34:13 +00:00
Reece H. Dunn bc674081cd Check the return from synth_callback in the second call to that function in Synthesize. 2016-12-23 19:17:18 +00:00
Reece H. Dunn a48576a364 Return ENS_SPEECH_STOPPED from Synthesize when the speech callback returns >1 to stop the audio. 2016-12-23 18:56:58 +00:00
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.
2016-12-21 16:00:51 +00:00
Reece H. Dunn f6536be5b2 Support determining the install path when installed to the 32-bit Windows program files directory. 2016-12-17 14:36:46 +00:00
Reece H. Dunn 0881659b80 endian.h: Use the Windows checks directly instead of creating a __WINDOWS__define. 2016-12-17 14:07:26 +00:00
Reece H. Dunn f4654f1e3f Extend the license of the endian.h modifications to match the original. 2016-12-17 14:04:53 +00:00
Reece H. Dunn c6d44dd963 Fix endian.h on Windows (remove the sys/param.h include). 2016-12-17 14:02:42 +00:00
Reece H. Dunn 7946e49092 Add PACKAGE_VERSION to the Windows config.h, to allow it to build. 2016-12-17 13:52:26 +00:00
Rui Batista b7a42e19a7 Remove commented code. 2016-12-11 18:54:12 +00:00
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.
2016-12-11 18:17:08 +00:00
Reece H. Dunn 02f0c83619 endian.h: Fix compilation on Linux. 2016-12-07 07:20:28 +00:00
Reece H. Dunn 55da41e085 endian.h: Use the compatibility shim conventions. 2016-12-07 07:18:53 +00:00
Reece H. Dunn 454c794c3a endian.h: Remove additional blank lines. 2016-12-07 07:13:50 +00:00
Reece H. Dunn 636dc94aa1 endian.h: use C-style comments and wrap the comment to 80 characters. 2016-12-07 07:12:46 +00:00
Reece H. Dunn 4aade2fce7 Add an endian.h compatibility shim for portability. 2016-12-07 07:09:51 +00:00
Reece H. Dunn f5d266db97 Don't write random bytes to the end of _phtrans files.
Patch by Samuel Thibault.
2016-12-07 06:56:28 +00:00
Reece H. Dunn 8320581675 Fix running espeak-ng on big-endian architectures.
Patch by Samuel Thibault.
2016-11-13 20:51:22 +00:00
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.
2016-10-10 21:02:15 -07:00
Christopher Brannon 0436ae71c0 Mutex needs to be locked when waiting on the condition variable. 2016-10-10 18:24:15 -07:00
Christopher Brannon ad436e1172 Clear my_stop_is_acknowledged before waiting on it. 2016-10-10 18:16:34 -07:00
Christopher Brannon 2e9ec8e06a Fix race condition. 2016-10-10 18:05:06 -07:00
Christopher Brannon 0177e1d686 Do not try to re-lock an already-locked mutex. 2016-10-10 18:04:16 -07:00
Reece H. Dunn 2893de65ac Ensure that the code is consistently formatted. 2016-10-09 17:39:01 +01:00
Rui Batista cc51af059f Use condition variables in event.c instead of semaphores. 2016-10-09 17:20:31 +01:00
Rui Batista 34f315363b Fix hang when waiting for condition variables. 2016-10-09 15:58:08 +01:00
Rui Batista 1bbba9bc3b Use condition variables instead of semaphores in fifo. 2016-10-09 14:51:08 +01:00
Rui Batista 7b82e39793 Make strcpy calls in load dictionary copy at most 40 bytes so clang __strcpy_check does not get triggered (possible buffer overflow?) 2016-10-05 13:15:48 +01:00
Reece H. Dunn 547258e4bf Use an Open Source implementation of ieee80.c. 2016-09-24 13:40:05 +01:00
Reece H. Dunn a45b58d106 Fix the eSpeak NG project name used in '--version'. 2016-09-24 12:53:32 +01:00
Reece H. Dunn f235c7cb00 Fix the version string references in '--version' and the Windows installer. 2016-09-24 12:51:29 +01:00
Reece H. Dunn 4bf9f0775f Update the version to 1.49.1 (in development). 2016-09-24 12:45:10 +01:00
Valdis Vitolins 76ac24fbe4 Fixed TODO comment removed 2016-09-10 15:55:16 +03:00
Valdis Vitolins 5ef006e48e Merge branch 'master' of https://github.com/espeak-ng/espeak-ng 2016-09-10 13:21:21 +03:00
Reece H. Dunn 34e51a464b Disable the experimental SAPI voice for now. 2016-09-10 11:03:35 +01:00
Reece H. Dunn 37804e9e73 Build the Kyrgyx language on Windows. 2016-09-10 11:00:38 +01:00
Reece H. Dunn 6cf06a49ef Add compatibility for the missing S_ISFIFO on Windows. 2016-09-10 10:24:46 +01:00
Reece H. Dunn 4920ecc79c Move espeak-data to espeak-ng-data to avoid conflicting with upstream espeak. 2016-09-10 09:44:13 +01:00
Valdis Vitolins 92eae4f322 Updates for issue #103 Maximum group number which works is actually 62 2016-09-05 22:05:55 +03:00
Valdis Vitolins dde9872eb7 Fix for issue #103 Maximum group number which works is actually 62 2016-08-31 23:48:32 +03:00
Ondřej Lysoněk b784e77c57 Moved speak_lib.h to espeak-ng directory - the Windows part 2016-08-28 10:58:33 +01:00
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.
2016-08-28 10:57:10 +01:00
Reece H. Dunn 21b3cf314c Clean up the RULE_ constants in translate.h. 2016-08-28 10:40:02 +01:00
Valdis Vitolins 77d526102d Fix for issue #120 Allow to decrease the score in the rule by adding - 2016-08-24 22:16:44 +03:00