Commit Graph
779 Commits
Author SHA1 Message Date
Reece H. Dunn f8b3764bef Create espeak-ng APIs for formatting espeak_ng_STATUS codes. 2016-01-03 14:16:17 +00:00
Reece H. Dunn ccb409c600 Return an espeak_ng_STATUS code in LoadSpectSeq. 2016-01-03 14:15:37 +00:00
Reece H. Dunn ae0d188c73 Fix the allocation of the spect->frames array. [clang scan-build] 2016-01-03 13:03:05 +00:00
Reece H. Dunn 1d14c2a2f1 Always pass plist to WritePhMnemonic [clang scan-build]
The clang scan-build static analysis tool warns of a null pointer
dereference in WritePhMnemonic. This is only for phonSWITCH codes,
which is guarded against in the calls that pass NULL to plist, so
the null dereference should not trigger.

Always passing plist supresses this warning, and prevents any
future errors.
2016-01-03 12:49:01 +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 9ff06ce43c Map the correct espeak-ng status codes to EE_NOT_FOUND. 2016-01-03 11:22:00 +00:00
Reece H. Dunn 4001a7fbdf Fix infinite recursions in the espeak_SetVoiceBy(Name|Properties) implementations. 2016-01-02 19:50:05 +00:00
Reece H. Dunn 0dcc1083a2 Fix mapping to the EE_NOT_FOUND status code. 2016-01-02 19:35:08 +00:00
Reece H. Dunn 76d8c67b52 Fix the mutex logic in fifo.c from the espeak_ng_STATUS changes. 2016-01-02 19:29:17 +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 3343bb45b6 Make the event API use espeak_ng_STATUS. 2016-01-02 19:17:19 +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 cec20ab48a Move callback API implementations back to speech.c. 2016-01-02 18:30:36 +00:00
Reece H. Dunn d5fdd0eb92 Create an espeak-ng version of espeak_Terminate. 2016-01-02 18:24:53 +00:00
Reece H. Dunn 4ba60623e8 Create an espeak-ng version of espeak_Synchronize. 2016-01-02 18:20:22 +00:00
Reece H. Dunn 079712ab79 Create an espeak-ng version of espeak_Cancel. 2016-01-02 18:10:35 +00:00
Reece H. Dunn 50120034ad Create an espeak-ng version of espeak_SetPunctuationList. 2016-01-02 18:06:44 +00:00
Reece H. Dunn 93898d7960 Create an espeak-ng version of espeak_SetParameter. 2016-01-02 17:32:32 +00:00
Reece H. Dunn 95b1fdc4b9 Create an espeak-ng version of espeak_Synth_Mark. 2016-01-02 17:17:52 +00:00
Reece H. Dunn 06cbd9d096 Create an espeak-ng version of espeak_Synth. 2016-01-02 17:06:01 +00:00
Reece H. Dunn 21d29154ce Propagate the Synthesize status return code through sync_espeak_(Key|Char). 2016-01-02 16:20:37 +00:00
Reece H. Dunn bf6f6f093f Make Synthesize return an espeak_ng_STATUS code. 2016-01-02 15:55:28 +00:00
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