Yury Popov
ca1f590101
code cleanup: standartize definitions
3 years ago
Yury Popov
89b2a55ea4
code cleanup: remove static from WordToString
3 years ago
Yury Popov
5a37bc301b
code clanup: remove unused samplerate_native
3 years ago
Yury Popov
2929b9e199
code cleanup: use statics and consts when possible
3 years ago
Juho Hiltunen
c5db9220bf
code cleanup: move Read4Bytes()
3 years ago
Juho Hiltunen
c4d8976fbc
code cleanup: Add new source file common.h for misc functions.
3 years ago
Samuel Thibault
24e1eaa0cc
Mark static arrays undefined when they are reused
So valgrind can potentially catch e.g. missing \0.
3 years ago
Valdis Vitolins
3f3f17f843
Fix #715: Need better error messages if MBROLA engine or voice files are missing
5 years ago
Reece H. Dunn
8e13f7147c
Add constants for use with PHONEME_LIST.newword.
7 years ago
Juho Hiltunen
9174a2045e
maintainability: remove unused externs
7 years ago
Juho Hiltunen
d196d93ed5
maintainability: move variables to files where they are used, allowing removal of unnecessary extern declarations
7 years ago
Juho Hiltunen
29cba35a9e
headers: add new file mbrola.h with declarations of functions in compilembrola.c and synth_mbrola.c
7 years ago
Juho Hiltunen
f00ff91fe4
headers: add new file wavegen.h with declarations of functions in wavegen.c
7 years ago
Juho Hiltunen
231a1d0944
headers: add new file dictionary.h with declarations of functions in dictionary.c
7 years ago
Juho Hiltunen
07160f9286
headers: add new file synthdata.h with declarations of functions in synthdata.c
7 years ago
Juho Hiltunen
706df97b20
headers: add new file readclause.h with declarations of functions in readclause.c
7 years ago
Juho Hiltunen
78749f14f8
readability fix: use boolean instead of 0 and 1 for loop control
7 years ago
Juho Hiltunen
4f56345fb5
Use stdbool instead of int (Issue #8)
See issue #8, https://github.com/espeak-ng/espeak-ng/issues/8
There might still be some ints that could be changed to boolean.
Possible regressions in fifo.c:
int fifo_is_busy() and int fifo_is_command_enabled() used to return an int. Now they return a boolean. This might cause problems on systems where stdbool true/false is something else than 1/0.
8 years ago
Reece H. Dunn
74f9f5e34b
wavegen.c: Fix -Wmissing-prototypes warnings.
8 years ago
Reece H. Dunn
6d9bb7ef17
Enable and fix -Wunused-parameter warnings.
8 years ago
Reece H. Dunn
9af96da469
Make the encoding.h API public.
8 years ago
Reece H. Dunn
7c16ac543c
Use the text decoder API in readclause.c.
8 years ago
Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
8 years ago
Reece H. Dunn
df6a2228b7
Use -EISDIR instead of -2 in GetFileLength for directories.
9 years ago
Reece H. Dunn
4920ecc79c
Move espeak-data to espeak-ng-data to avoid conflicting with upstream espeak.
9 years ago
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.
9 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
10 years ago
Reece H. Dunn
9eb6150e64
Fix the realloc usage of mbrola_tab in LoadMbrolaTable(synth_mbrola.c) [msvc /analyze]
10 years ago
Reece H. Dunn
b9fcb84bad
Make the MBROLA API consistent between the Windows and POSIX versions.
10 years ago
Reece H. Dunn
aeca863f39
Move the Windows MBROLA API support layer to mbrowrap.c,
10 years ago
Reece H. Dunn
706d546182
Move the MBROLA API definitions for Windows to mbrowrap.h,
10 years ago
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
10 years ago
Reece H. Dunn
951872b05a
LoadMbrolaTable reads mbrola_tab in 4-byte chunks, so the fread operation always returns 0 bytes.
10 years ago
Reece H. Dunn
1b562d7185
Check fread return value in LoadMbrolaTable(synth_mbrola.c) [clang scan-build]
10 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
10 years ago
Reece H. Dunn
6aeb5a26f0
Replace the remaining espeak_ERROR code usage with espeak_ng_STATUS.
10 years ago
Reece H. Dunn
e69f0f41f0
Make LoadMbrolaTable return espeak_ng_STATUS.
10 years ago
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
10 years ago
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf89c8e5561f833f961d8330059daaae
This commit has been reported to cause distortions in phoneme
pitches and speeds.
10 years ago
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
10 years ago
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
10 years ago
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
10 years ago
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
10 years ago
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
10 years ago
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
10 years ago
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
10 years ago
Reece H. Dunn
91cd9bdc21
Fix building espeak-ng using --with-mbrola=no
10 years ago
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
10 years ago
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
10 years ago
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
10 years ago