Reece H. Dunn
09d071046a
Check for ENE_VERSION_MISMATCH from espeak_ng_Initialize.
9 years ago
Reece H. Dunn
74db6dac63
Use the ENOMEM errno code instead of ENE_OUT_OF_MEMORY.
9 years ago
Reece H. Dunn
0d0bb33297
espeak-ng: support specifying the device name from the command line
9 years ago
Reece H. Dunn
b28a0001c0
espeak-ng: use the new espeak-ng initialization APIs
9 years ago
Reece H. Dunn
975ffade6c
Fix a logical error.
9 years ago
Reece H. Dunn
386d11a637
Expose a parameter specifying the device name to espeak_ng_InitializeOutput.
9 years ago
Reece H. Dunn
14d879aa97
Initialize the phoneme options in espeak_ng_Initialize.
9 years ago
Reece H. Dunn
9fe525fb13
Move more code into espeak_ng_InitializeOutput.
9 years ago
Reece H. Dunn
4f1e7af0da
Expose select_output as espeak_ng_InitializeOutput.
9 years ago
Reece H. Dunn
32819f7957
Map the espeak_AUDIO_OUTPUT enumeration to espeak_ng_OUTPUT_MODE flags.
9 years ago
Reece H. Dunn
e341068d57
Move more initialization logic to espeak_ng_Initialize.
9 years ago
Reece H. Dunn
75f7558801
Share the initialise implementation between libespeak-ng and speak-ng.
9 years ago
Reece H. Dunn
660f18f3a3
Make use of the new espeak_ng_InitializePath API.
9 years ago
Reece H. Dunn
44dbfc1b31
Share the init_path implementation between libespeak-ng and speak-ng.
9 years ago
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
9 years ago
Reece H. Dunn
2e88afeaa0
Move the clock_gettime2 and add_time_in_ms implementation to event.c to avoid code duplication.
9 years ago
Reece H. Dunn
56bfebe2fd
Only include the null wave* implementation in wave.c.
9 years ago
Reece H. Dunn
d7801617f7
Always enable the wave* code irrespective of whether USE_ASYNC is defined.
9 years ago
Reece H. Dunn
5a793e4dea
wave: make use of the device parameter to wave_open
9 years ago
Reece H. Dunn
856a4d4bea
wave_pulse: make use of the device parameter to wave_open
9 years ago
Reece H. Dunn
fee1ca32b5
wave_sada: make use of the device parameter to wave_open
9 years ago
Reece H. Dunn
104a9de6da
Expose a device name parameter to wave_open.
9 years ago
Reece H. Dunn
843f4d0dd4
Combine wave_init and wave_open.
9 years ago
Reece H. Dunn
af75ed03e8
Fix building on Windows systems.
9 years ago
Reece H. Dunn
53aac7f3a5
Fix clang -Wconditional-uninitialized warnings.
9 years ago
Reece H. Dunn
80914cc40e
Fix clang -Wunused-macros warnings.
9 years ago
Reece H. Dunn
fe31f299ca
Fix clang -Wunreachable-code-return warnings.
9 years ago
Reece H. Dunn
9e643b5620
Fix clang -Wunreachable-code-break warnings.
9 years ago
Reece H. Dunn
c1f0529747
DecompilePhoneme does nothing (returns before doing anything), so remove it (it was used to debug/trace CompilePhoneme).
9 years ago
Reece H. Dunn
d9258426bd
Fix GCC -Wsign-compare warnings.
9 years ago
Reece H. Dunn
b11d540718
Fix GCC -Wunused-parameter warnings.
9 years ago
Reece H. Dunn
8771b1c29c
The modn parameter of SetSynth_Klatt is not used, so remove it.
9 years ago
Reece H. Dunn
8091938430
The fill_zeros parameter of WavegenFill is not used, so remove it.
9 years ago
Reece H. Dunn
f38a075575
The next_pause parameter of TranslateWord is not used, so remove it.
9 years ago
Reece H. Dunn
75758a9712
Fix GCC -Wunused-but-set-variable warnings.
9 years ago
Reece H. Dunn
bc288a04f4
Implement espeak_SetVoiceByProperties directly from the SetVoiceByProperties implementation.
9 years ago
Reece H. Dunn
9ab5fad596
Implement espeak_SetVoiceByName directly from the SetVoiceByName implementation.
9 years ago
Reece H. Dunn
7afdd17fca
Merge identical code branches in speak-ng.
9 years ago
Reece H. Dunn
230ddd9fe2
Generate build errors if phoneme or language data files contain errors.
9 years ago
Reece H. Dunn
dfdb4e2391
Remove the Error wrapper -- use error directly.
9 years ago
Reece H. Dunn
6821f0dab0
Use variable arguments to simplify error(...) usage.
9 years ago
Reece H. Dunn
17c61b25d7
Output phoneme compilation errors to stderr.
9 years ago
Reece H. Dunn
063f4dbe40
Add documentation for speak-ng.
9 years ago
Reece H. Dunn
d460f1c448
Support the additional --compile-... options in speak-ng.
9 years ago
Reece H. Dunn
89a7829244
Add --help documentation for --compile-debug.
9 years ago
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf89c8e5561f833f961d8330059daaae
This commit has been reported to cause distortions in phoneme
pitches and speeds.
9 years ago
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.
9 years ago
Reece H. Dunn
e69c936329
Remove the debugging code.
The debugging code is done inconsistently, mainly to trace the
event and audio output logic. This makes it harder to understand
the code flow for logic that is not enabled by default.
As such the debugging code makes the code harder to maintain.
9 years ago
Reece H. Dunn
7874411c4d
Always include the #ifdef LIBRARY code.
9 years ago
Reece H. Dunn
19f9ed629b
Remove the debugging code in OUTPUT_FORMAT and LIST_GROUP_INFO as this is not compiled by default.
9 years ago