Commit Graph
55 Commits
Author SHA1 Message Date
Reece H. Dunn 941f439ca7 espeak-ng.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:57:31 +01:00
Reece H. Dunn 882c2651e1 Fix setting the default voice from espeak_SetVoiceByProperties. 2017-08-19 12:08:39 +01:00
Reece H. Dunn 1a0594c62f Fix reading stdin buffers larger than 1000.
Patch by https://github.com/ChliHug.
2017-02-02 07:22:59 +00:00
Reece H. Dunn e372d84348 espeak-ng: add a <phsource-dir> argument to --compile-phonemes. 2017-01-19 21:23:22 +00:00
Reece H. Dunn 59ca718d40 Always use 'en' as the default voice/language. 2017-01-19 19:57:06 +00: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 4920ecc79c Move espeak-data to espeak-ng-data to avoid conflicting with upstream espeak. 2016-09-10 09:44:13 +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 8f44217e70 Fix wave file truncation when reading multiline text from stdin or FIFO (line-by-line reading mode). 2016-08-16 20:55:31 +01:00
Reece H. Dunn 326d199f49 List the help option when displaying the help message. 2016-08-16 20:38:38 +01:00
Ondřej Lysoněk 7659aaa2e8 Support reading input from named pipes
Added support for line-by-line input reading from unix FIFOs.
2016-08-15 18:56:57 +01:00
Reece H. Dunn 1d4fa18884 speak-ng: use the espeak-ng.c implementation in synchronous playback mode 2016-02-02 07:34:57 +00:00
Reece H. Dunn 77b5f6a1c0 Use BCP 47 conformant language codes for the languages and accents. 2016-01-23 18:41:00 +00:00
Reece H. Dunn 03fdc8bc31 Check fseek calls in CloseWavFile(espeak-ng.c). [Coverity] 2016-01-22 19:35:09 +00:00
Reece H. Dunn eaa0c9aa08 Fix truncated fgetc return value in main(espeak-ng.c). [Coverity] 2016-01-21 20:10:13 +00:00
Reece H. Dunn 96c43f3eb2 Clean up the include files to make them consistent. 2016-01-16 17:54:39 +00:00
Reece H. Dunn c22550afb5 Use the NetBSD getopt_long implementation on Windows.
This makes the espeak-ng.c and speak-ng.c source code easier to
read and maintain. It also addresses bugs in command-line argument
parsing with the espeak implementation, for example it treats
`--compile-phonemes` as `--compile` due to an argument matching bug.
2016-01-13 22:05:41 +00:00
Reece H. Dunn a64e048c51 Check malloc/realloc in the flag_stdin codepath of espeak-ng.c. 2016-01-12 07:27:43 +00:00
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.
2016-01-11 07:03:00 +00:00
Reece H. Dunn 0cc0300328 Fix gcc sign conversion warnings in espeak-ng.c. 2016-01-10 11:38:05 +00:00
Reece H. Dunn 11101806ce Support building espeak-ng.exe with Visual C++. 2016-01-09 13:32:16 +00:00
Reece H. Dunn 5ebd28e4bc Use HAVE_GETOPT_H for the getopt.h checks. 2016-01-09 14:17:07 +00:00
Reece H. Dunn c45e70142b espeak-ng: display the underlying error on failure 2016-01-07 22:51:36 +00:00
Reece H. Dunn 72db232ec3 Move include/espeak{-ng => }/speak_lib.h. 2016-01-04 19:45:23 +00:00
Reece H. Dunn 7aa506d145 Use the error context API in espeak_ng_CompilePhonemeData. 2016-01-04 13:42:43 +00:00
Reece H. Dunn 57eb9628d6 Use the error context API in espeak_ng_CompileIntonation. 2016-01-04 13:28:38 +00:00
Reece H. Dunn 82681567e5 Use the error context API in espeak_ng_CompileMbrolaVoice. 2016-01-04 11:35:24 +00:00
Reece H. Dunn a3f0795fb7 Use the error context API in espeak_ng_CompileDictionary. 2016-01-04 11:28:18 +00:00
Reece H. Dunn 9d860cb180 Support displaying error context information. 2016-01-04 11:07:12 +00:00
Reece H. Dunn 013e282d1a Use the error context API in espeak_ng_Initialize. 2016-01-04 10:51:19 +00:00
Reece H. Dunn 77eb4262f2 Use espeak_ng_PrintStatusCodeMessage for espeak_ng_Initialize error formatting. 2016-01-03 14:21:13 +00:00
Reece H. Dunn 563e4e3769 Use ENS_ for eSpeak NG error codes, and standardize on a numbering scheme. 2016-01-02 12:20:25 +00:00
Reece H. Dunn 09d071046a Check for ENE_VERSION_MISMATCH from espeak_ng_Initialize. 2016-01-02 11:34:58 +00:00
Reece H. Dunn 0d0bb33297 espeak-ng: support specifying the device name from the command line 2016-01-01 19:58:09 +00:00
Reece H. Dunn b28a0001c0 espeak-ng: use the new espeak-ng initialization APIs 2016-01-01 19:01:16 +00:00
Reece H. Dunn 660f18f3a3 Make use of the new espeak_ng_InitializePath API. 2016-01-01 14:05:33 +00:00
Reece H. Dunn 9e643b5620 Fix clang -Wunreachable-code-break warnings. 2015-12-30 15:54:32 +00:00
Reece H. Dunn d9258426bd Fix GCC -Wsign-compare warnings. 2015-12-30 15:11:27 +00:00
Reece H. Dunn 230ddd9fe2 Generate build errors if phoneme or language data files contain errors. 2015-12-29 15:00:31 +00:00
Reece H. Dunn 89a7829244 Add --help documentation for --compile-debug. 2015-12-29 11:27:00 +00:00
Reece H. Dunn 522e7c4d51 Revert commit 14a2fb39cf
This commit has been reported to cause distortions in phoneme
pitches and speeds.
2015-12-28 17:54:17 +00:00
Fredrik Nyqvist 14a2fb39cf Declare variables at their first point of use
Also use size_t instead of int in some places
where it make sense
2015-12-28 12:05:17 +01:00
Reece H. Dunn 3e99752d0c Check and fix source code formatting. 2015-12-27 22:34:53 +00:00
Reece H. Dunn f0c2c4cca2 Remove extra newlines from the files to provide consistent spacing. 2015-12-23 11:32:03 +00:00
Reece H. Dunn d345d74f64 Remove braces around single-line if/while/for/etc. and related cleanup. 2015-12-22 20:40:10 +00:00
Reece H. Dunn 9a837c8182 Remove parentheses around return statements. 2015-12-22 16:24:01 +00:00
Reece H. Dunn 12e0bb122b Reformat the code using the uncrustify program. 2015-12-22 15:06:50 +00:00
Reece H. Dunn 1c6681e3d4 Make espeak-ng use strncpy0, etc. from libespeak-ng.
This removes the implementation of those functions from espeak-ng
and use the versions in libespeak-ng.

NOTE: This is needed to cross-compile to Windows.
2015-12-19 17:03:47 +00:00
Reece H. Dunn c71b24a9a5 Use a consistent license notice in the source files. 2015-12-18 07:06:29 +00:00
Reece H. Dunn cbe8695fcb Remove the * box around the file headers. 2015-12-17 23:45:36 +00:00