Valdis Vitolins
ad1fa7f25f
Expose SpectSeqCreate(), SpectSeqDestroy() and LoadSpectSeq() functions for eSpeakNG Java Editor
2018-03-22 10:25:13 +02:00
Juho Hiltunen
d1fd650219
Replace references to USHORT, DOUBLEX and UCHAR with unsigned short, double and unsigned char.
...
This makes the codebase more consistent. Including speech.h is not necessary anymore in some files. Includes have been removed.
2018-03-09 21:08:38 +02:00
Reece H. Dunn
6a735f19f2
ieee80.c: Fix -Wmissing-prototypes warnings (create an ieee80.h header file).
2017-10-11 21:13:50 +01:00
Reece H. Dunn
74f9f5e34b
wavegen.c: Fix -Wmissing-prototypes warnings.
2017-10-10 21:37:46 +01: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
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
4ecdeefe4b
Fix a null pointer dereference in LoadSpectSeq(spect.c). [Coverity]
2016-01-22 20:26:48 +00:00
Reece H. Dunn
a9adf136c6
Close stream on error paths in LoadSpectSeq(spect.c). [Coverity]
2016-01-22 20:17:08 +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
2446dbc3b4
Make LoadFrame return an error_ng_STATUS code.
2016-01-11 21:26:39 +00:00
Reece H. Dunn
d8a88fc8e7
Call to malloc may return NULL in SpectCreateFrame(spect.c) [msvc /analyze]
2016-01-11 20:47:35 +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
38d15f8f90
Fix gcc sign conversion warnings in spect.c.
2016-01-10 18:58:46 +00:00
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
2016-01-09 13:09:50 +00:00
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
2016-01-04 19:45:23 +00:00
Reece H. Dunn
32655d264d
Make LoadSpect return an espeak_ng_STATUS code.
2016-01-03 15:02:14 +00:00
Reece H. Dunn
619fc6424d
Make LoadDataFile return an espeak_ng_STATUS code.
2016-01-03 14:53:11 +00:00
Reece H. Dunn
ccb409c600
Return an espeak_ng_STATUS code in LoadSpectSeq.
2016-01-03 14:15:37 +00:00
Reece H. Dunn
ae0d188c73
Fix the allocation of the spect->frames array. [clang scan-build]
2016-01-03 13:03:05 +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
80914cc40e
Fix clang -Wunused-macros warnings.
2015-12-30 16:13:29 +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
26b1e83b9c
Remove the unused PeaksZero function in spect.c
2015-12-19 13:29:03 +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
Michael Curran
9d187f0588
Stop leaking file streams in libespeak-ng's LoadSpectSeq function.
2015-12-17 19:25:53 +10: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
08821f262f
Remove commented out code.
2015-12-14 23:13:56 +00:00
Reece H. Dunn
408a12a79f
Convert src/spect.cpp to src/libespeak-ng/spect.c.
2015-12-13 16:57:21 +00:00