Commit Graph
1539 Commits
Author SHA1 Message Date
Reece H. Dunn f2bd7f4b51 Don't add the size parameter to the synthesize method structures as the synthesize methods don't use the size parameter. 2016-01-02 15:22:50 +00:00
Reece H. Dunn 5e42051a30 Move the espeak callback APIs to espeak_api.c. 2016-01-02 15:01:30 +00:00
Reece H. Dunn 7d8d91698f Remove the f_logespeak logging code. 2016-01-02 14:55:32 +00:00
Reece H. Dunn e294760385 Return the status from Synthesize directly. 2016-01-02 14:47:36 +00:00
Reece H. Dunn b843d2a415 Remove the unused size parameter in the sync_espeak_Synth commands. 2016-01-02 14:44:01 +00:00
Reece H. Dunn 7569d1c4c3 Create an espeak-ng version of espeak_Key. 2016-01-02 14:33:32 +00:00
Reece H. Dunn 4ca39ab26c Create an espeak-ng version of espeak_Char. 2016-01-02 14:23:36 +00:00
Reece H. Dunn 8b32702627 Move the espeak_CompileDictionary implementation to espeak_api.c. 2016-01-02 13:57:00 +00:00
Reece H. Dunn 71482ec913 Move the espeak_Initialize implementation to espeak_api.c. 2016-01-02 13:46:58 +00:00
Reece H. Dunn d3dc398fd0 Rename src/libespeak-ng/{speak_lib => speech}.c. 2016-01-02 13:32:29 +00:00
Reece H. Dunn dfdc76e1d8 Use espeak_ng_STATUS codes for the fifo API. 2016-01-02 13:27:35 +00:00
Reece H. Dunn 563e4e3769 Use ENS_ for eSpeak NG error codes, and standardize on a numbering scheme. 2016-01-02 12:20:25 +00:00
Reece H. Dunn f9ea83430e Use errno codes in place of ENE_(READ|WRITE)_ERROR. 2016-01-02 11:58:12 +00:00
Reece H. Dunn 912a2f7e3f Make ReadPhFile return a status/error code. 2016-01-02 11:47:54 +00:00
Reece H. Dunn 09d071046a Check for ENE_VERSION_MISMATCH from espeak_ng_Initialize. 2016-01-02 11:34:58 +00:00
Reece H. Dunn 74db6dac63 Use the ENOMEM errno code instead of ENE_OUT_OF_MEMORY. 2016-01-02 10:49:37 +00:00
Reece H. Dunn 0d0bb33297 espeak-ng: support specifying the device name from the command line 2016-01-01 19:58:09 +00:00
Reece H. Dunn b28a0001c0 espeak-ng: use the new espeak-ng initialization APIs 2016-01-01 19:01:16 +00:00
Reece H. Dunn 975ffade6c Fix a logical error. 2016-01-01 18:51:56 +00:00
Reece H. Dunn 386d11a637 Expose a parameter specifying the device name to espeak_ng_InitializeOutput. 2016-01-01 17:23:38 +00:00
Reece H. Dunn 14d879aa97 Initialize the phoneme options in espeak_ng_Initialize. 2016-01-01 17:11:15 +00:00
Reece H. Dunn 9fe525fb13 Move more code into espeak_ng_InitializeOutput. 2016-01-01 16:40:16 +00:00
Reece H. Dunn 4f1e7af0da Expose select_output as espeak_ng_InitializeOutput. 2016-01-01 16:27:32 +00:00
Reece H. Dunn 32819f7957 Map the espeak_AUDIO_OUTPUT enumeration to espeak_ng_OUTPUT_MODE flags. 2016-01-01 16:18:24 +00:00
Reece H. Dunn e341068d57 Move more initialization logic to espeak_ng_Initialize. 2016-01-01 16:06:31 +00:00
Reece H. Dunn 75f7558801 Share the initialise implementation between libespeak-ng and speak-ng. 2016-01-01 14:39:52 +00:00
Reece H. Dunn 660f18f3a3 Make use of the new espeak_ng_InitializePath API. 2016-01-01 14:05:33 +00:00
Reece H. Dunn 44dbfc1b31 Share the init_path implementation between libespeak-ng and speak-ng. 2016-01-01 13:52:53 +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 2e88afeaa0 Move the clock_gettime2 and add_time_in_ms implementation to event.c to avoid code duplication. 2015-12-31 16:51:46 +00:00
Reece H. Dunn 56bfebe2fd Only include the null wave* implementation in wave.c. 2015-12-31 16:46:53 +00:00
Reece H. Dunn d7801617f7 Always enable the wave* code irrespective of whether USE_ASYNC is defined. 2015-12-31 16:44:27 +00:00
Reece H. Dunn 5a793e4dea wave: make use of the device parameter to wave_open 2015-12-31 15:56:43 +00:00
Reece H. Dunn 856a4d4bea wave_pulse: make use of the device parameter to wave_open 2015-12-31 15:34:41 +00:00
Reece H. Dunn fee1ca32b5 wave_sada: make use of the device parameter to wave_open 2015-12-31 15:29:13 +00:00
Reece H. Dunn 104a9de6da Expose a device name parameter to wave_open. 2015-12-31 15:25:17 +00:00
Reece H. Dunn 843f4d0dd4 Combine wave_init and wave_open. 2015-12-31 13:47:48 +00:00
Reece H. Dunn af75ed03e8 Fix building on Windows systems. 2015-12-31 10:21:02 +00:00
Reece H. Dunn 53aac7f3a5 Fix clang -Wconditional-uninitialized warnings. 2015-12-30 16:37:01 +00:00
Reece H. Dunn 80914cc40e Fix clang -Wunused-macros warnings. 2015-12-30 16:13:29 +00:00
Reece H. Dunn fe31f299ca Fix clang -Wunreachable-code-return warnings. 2015-12-30 15:58:25 +00:00
Reece H. Dunn 9e643b5620 Fix clang -Wunreachable-code-break warnings. 2015-12-30 15:54:32 +00:00
Reece H. Dunn c1f0529747 DecompilePhoneme does nothing (returns before doing anything), so remove it (it was used to debug/trace CompilePhoneme). 2015-12-30 15:45:47 +00:00
Reece H. Dunn d9258426bd Fix GCC -Wsign-compare warnings. 2015-12-30 15:11:27 +00:00
Reece H. Dunn b11d540718 Fix GCC -Wunused-parameter warnings. 2015-12-30 15:01:31 +00:00
Reece H. Dunn 8771b1c29c The modn parameter of SetSynth_Klatt is not used, so remove it. 2015-12-30 09:18:22 +00:00
Reece H. Dunn 8091938430 The fill_zeros parameter of WavegenFill is not used, so remove it. 2015-12-30 09:06:19 +00:00
Reece H. Dunn f38a075575 The next_pause parameter of TranslateWord is not used, so remove it. 2015-12-30 08:58:36 +00:00
Reece H. Dunn 75758a9712 Fix GCC -Wunused-but-set-variable warnings. 2015-12-29 22:23:41 +00:00
Reece H. Dunn bc288a04f4 Implement espeak_SetVoiceByProperties directly from the SetVoiceByProperties implementation. 2015-12-29 17:24:59 +00:00