Reece H. Dunn
b5c415a98d
Rename OPCODE_ to INSTN_.
2017-10-28 12:38:39 +01:00
Reece H. Dunn
6acec43043
synthesize.c: Fix -Wmissing-prototypes warnings.
2017-10-11 07:16:43 +01:00
Reece H. Dunn
74f9f5e34b
wavegen.c: Fix -Wmissing-prototypes warnings.
2017-10-10 21:37:46 +01:00
Reece H. Dunn
d89fa59bed
Enable and fix -Wunused-variable warnings.
2017-10-05 07:23:17 +01:00
Reece H. Dunn
921229259d
Use int to store the value from GetFileLength.
...
This fixes the clang warning:
comparison of unsigned expression < 0 is always false
[-Wtautological-compare]
Reported by Reef Turner <reef@nvaccess.org >
2017-07-26 19:50:03 +01:00
Reece H. Dunn
9af96da469
Make the encoding.h API public.
2017-05-02 18:40:16 +01:00
Reece H. Dunn
7c16ac543c
Use the text decoder API in readclause.c.
2017-03-31 13:17:37 +01:00
Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
2017-02-10 08:03:40 +00:00
Reece H. Dunn
df6a2228b7
Use -EISDIR instead of -2 in GetFileLength for directories.
2017-02-04 16:02:56 +00:00
Reece H. Dunn
f2bb482782
Use OPCODE for the RETURN and CONTINUE opcodes.
2017-01-29 10:29:48 +00:00
Reece H. Dunn
b937d37e93
Use the stress condition values in StressCondition.
2017-01-29 10:14:10 +00:00
Reece H. Dunn
8338cdd250
Better document the other condition checks (isDiminished, etc.).
2017-01-29 10:09:16 +00:00
Reece H. Dunn
5d2e2a2f8f
Use the place of articulation constants to specify the place-based conditions.
2017-01-29 00:29:17 +00:00
Reece H. Dunn
f0d4a98b96
Use an explicit is phoneme type constant to specify the type-based conditions.
2017-01-29 00:09:54 +00:00
Reece H. Dunn
98703c30de
Use the phflag bit offset constants to specify the phflag-based conditions.
2017-01-29 00:04:44 +00:00
Reece H. Dunn
5c96ad2359
Remove unused phoneme flags.
2017-01-28 23:24:53 +00:00
Reece H. Dunn
5600019a54
Remove unused conditional tests.
2017-01-28 21:16:08 +00:00
Reece H. Dunn
6a0ea584ea
Don't store the unused phoneme equivalence tables in the phoneme data files.
2017-01-27 20:44:06 +00:00
Reece H. Dunn
a091c20852
Remove the unused isSeqFlag1 logic checks.
2017-01-25 23:44:19 +00:00
Reece H. Dunn
f235c7cb00
Fix the version string references in '--version' and the Windows installer.
2016-09-24 12:51:29 +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
bb465a45d8
Move the clock_gettime2 and add_time_in_ms definitions to event.h.
2016-02-07 18:38:13 +00:00
Reece H. Dunn
674d55e605
Remove support for pa_device in the config file (now have a device command-line option).
2016-02-07 18:16:27 +00:00
Reece H. Dunn
bbd981efb8
Use malloc/strdup instead of Alloc.
2016-01-18 20:34:59 +00:00
Reece H. Dunn
325014da42
Use free instead of Free as free checks for NULL.
2016-01-18 20:23:51 +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
19ef13daac
i_CHANGE_PHONEME2 is not used and the code conflicts with i_ADD_LENGTH, so remove it
2016-01-12 22:05:10 +00:00
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
2016-01-09 13:09:50 +00:00
Reece H. Dunn
43d1c0c066
Initialize length in LoadPhData(synthdata.c). [clang scan-build]
2016-01-07 20:52:47 +00:00
Reece H. Dunn
21cc5195d2
Remove a dead assignment in InterpretPhoneme(synthdata.c) [clang scan-build]
2016-01-06 21:18:30 +00:00
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
2016-01-04 19:45:23 +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
7d8d91698f
Remove the f_logespeak logging code.
2016-01-02 14:55:32 +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
912a2f7e3f
Make ReadPhFile return a status/error code.
2016-01-02 11:47:54 +00:00
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
2016-01-01 13:17:11 +00:00
Reece H. Dunn
9e643b5620
Fix clang -Wunreachable-code-break warnings.
2015-12-30 15:54:32 +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
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
2015-12-18 21:41:28 +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
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
2015-12-17 07:40:24 +00:00
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
2015-12-15 22:26:02 +00:00
Reece H. Dunn
96cc9dbae2
Always build espeakedit specific data in libespeak-ng.
2015-12-11 20:56:24 +00:00