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
aaf52c3a78
Remove unused variables.
2016-06-05 08:52:38 +01:00
Reece H. Dunn
b620f42775
voices: support a status annotation in voice files
2016-05-21 21:29:39 +01:00
Reece H. Dunn
7e3e2c3854
voices: support a maintainer annotation in voice files
2016-05-21 21:16:55 +01:00
Reece H. Dunn
4cde8b6d13
option_quiet is no longer used (always set to 0), so remove it
2016-02-06 10:45:32 +00:00
Reece H. Dunn
211f103a69
Perform case insensitive comparisons for matching voice names.
2016-02-01 18:37:06 +00:00
Reece H. Dunn
e8015df0f8
Remove the additional LoadVoice search heuristics.
...
These heuristics were designed to guess the location of the voice
files without searching the voice list. The heuristics are very
implementation dependent, and easily break when voices move around.
The voices are still found correctly, so these heuristics are
redundant.
2016-01-23 14:50:43 +00:00
Reece H. Dunn
c0d79709c4
Fix Windows includes (don't rely on speech.h).
2016-01-16 18:19:39 +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
142063f1e6
Remove a GCC incompatible pointer conversion warning in voices.c.
2016-01-12 21:51:44 +00:00
Reece H. Dunn
4ac6355834
Fix the realloc usage of voices in espeak_ListVoices(voices.c) [msvc /analyze]
2016-01-12 21:46:08 +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
9c7179189b
Add a stdint.h compatibility shim.
2016-01-09 13:09:50 +00:00
Reece H. Dunn
d4dd2cacca
Fix the voice_dir logic in LoadVoice(voices.c) [clang scan-build]
2016-01-06 20:27:29 +00:00
Reece H. Dunn
cb3699746c
Check the return value of sscanf in LoadVoice(voices.c) [clang scan-build]
2016-01-06 20:22:58 +00:00
Reece H. Dunn
bc8297bf3c
Remove a dead assignment in LoadVoice(voices.c) [clang scan-build]
2016-01-06 20:19:31 +00:00
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
2016-01-04 19:45:23 +00:00
Reece H. Dunn
fb99a17b7f
new_translator may be NULL when processing the charset command [clang scan-build]
2016-01-03 12:26:38 +00:00
Reece H. Dunn
6aeb5a26f0
Replace the remaining espeak_ERROR code usage with espeak_ng_STATUS.
2016-01-02 19:24:39 +00:00
Reece H. Dunn
e69f0f41f0
Make LoadMbrolaTable return espeak_ng_STATUS.
2016-01-02 18:59:18 +00:00
Reece H. Dunn
df170d1c48
Create an espeak-ng version of espeak_SetVoiceBy(Name|Properties).
2016-01-02 18:42:26 +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
af75ed03e8
Fix building on Windows systems.
2015-12-31 10:21:02 +00:00
Reece H. Dunn
b11d540718
Fix GCC -Wunused-parameter warnings.
2015-12-30 15:01:31 +00:00
Reece H. Dunn
bc288a04f4
Implement espeak_SetVoiceByProperties directly from the SetVoiceByProperties implementation.
2015-12-29 17:24:59 +00:00
Reece H. Dunn
9ab5fad596
Implement espeak_SetVoiceByName directly from the SetVoiceByName implementation.
2015-12-29 17:15:43 +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
Reece H. Dunn
5d295bdd30
Merge remote-tracking branch 'nyqvist/master'
...
Conflicts:
src/libespeak-ng/compiledict.c
src/libespeak-ng/readclause.c
src/libespeak-ng/speak_lib.c
src/libespeak-ng/voices.c
src/libespeak-ng/wave_sada.c
src/libespeak-ng/wavegen.c
2015-12-28 13:14:46 +00:00
Reece H. Dunn
5bbc0d3743
Remove the PLATFORM_RISCOS code.
...
This is from the old espeak RiscOS port that has been removed.
If/when the espeak-ng program is ported to RiscOS, this will be
done in a different, more maintainable way.
2015-12-28 12:46:14 +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
08821f262f
Remove commented out code.
2015-12-14 23:13:56 +00:00
Reece H. Dunn
f7dfc38dd7
Use the C compiler to build C files; restructuring.
...
This moves the libespeak source (*.cpp) files to src/libespeak-ng
and renames the C files (libespeak, espeak, speak) so they have
a .c file extension.
2015-12-09 23:33:00 +00:00