Reece H. Dunn
4ba60623e8
Create an espeak-ng version of espeak_Synchronize.
9 years ago
Reece H. Dunn
079712ab79
Create an espeak-ng version of espeak_Cancel.
9 years ago
Reece H. Dunn
50120034ad
Create an espeak-ng version of espeak_SetPunctuationList.
9 years ago
Reece H. Dunn
93898d7960
Create an espeak-ng version of espeak_SetParameter.
9 years ago
Reece H. Dunn
95b1fdc4b9
Create an espeak-ng version of espeak_Synth_Mark.
9 years ago
Reece H. Dunn
06cbd9d096
Create an espeak-ng version of espeak_Synth.
9 years ago
Reece H. Dunn
21d29154ce
Propagate the Synthesize status return code through sync_espeak_(Key|Char).
9 years ago
Reece H. Dunn
bf6f6f093f
Make Synthesize return an espeak_ng_STATUS code.
9 years ago
Reece H. Dunn
5e42051a30
Move the espeak callback APIs to espeak_api.c.
9 years ago
Reece H. Dunn
7d8d91698f
Remove the f_logespeak logging code.
9 years ago
Reece H. Dunn
e294760385
Return the status from Synthesize directly.
9 years ago
Reece H. Dunn
b843d2a415
Remove the unused size parameter in the sync_espeak_Synth commands.
9 years ago
Reece H. Dunn
7569d1c4c3
Create an espeak-ng version of espeak_Key.
9 years ago
Reece H. Dunn
4ca39ab26c
Create an espeak-ng version of espeak_Char.
9 years ago
Reece H. Dunn
8b32702627
Move the espeak_CompileDictionary implementation to espeak_api.c.
9 years ago
Reece H. Dunn
71482ec913
Move the espeak_Initialize implementation to espeak_api.c.
9 years ago
Reece H. Dunn
d3dc398fd0
Rename src/libespeak-ng/{speak_lib => speech}.c.
9 years ago
Reece H. Dunn
dfdc76e1d8
Use espeak_ng_STATUS codes for the fifo API.
9 years ago
Reece H. Dunn
563e4e3769
Use ENS_ for eSpeak NG error codes, and standardize on a numbering scheme.
9 years ago
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
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
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
b11d540718
Fix GCC -Wunused-parameter warnings.
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
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
230ddd9fe2
Generate build errors if phoneme or language data files contain errors.
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
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
9 years ago
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
9 years ago
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
9 years ago
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
9 years ago
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
9 years ago
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
9 years ago
Reece H. Dunn
1c6681e3d4
Make espeak-ng use strncpy0, etc. from libespeak-ng.
This removes the implementation of those functions from espeak-ng
and use the versions in libespeak-ng.
NOTE: This is needed to cross-compile to Windows.
9 years ago