Reece H. Dunn
a48576a364
Return ENS_SPEECH_STOPPED from Synthesize when the speech callback returns >1 to stop the audio.
2016-12-23 18:56:58 +00:00
Reece H. Dunn
0881659b80
endian.h: Use the Windows checks directly instead of creating a __WINDOWS__define.
2016-12-17 14:07:26 +00:00
Reece H. Dunn
f4654f1e3f
Extend the license of the endian.h modifications to match the original.
2016-12-17 14:04:53 +00:00
Reece H. Dunn
c6d44dd963
Fix endian.h on Windows (remove the sys/param.h include).
2016-12-17 14:02:42 +00:00
Reece H. Dunn
02f0c83619
endian.h: Fix compilation on Linux.
2016-12-07 07:20:28 +00:00
Reece H. Dunn
55da41e085
endian.h: Use the compatibility shim conventions.
2016-12-07 07:18:53 +00:00
Reece H. Dunn
454c794c3a
endian.h: Remove additional blank lines.
2016-12-07 07:13:50 +00:00
Reece H. Dunn
636dc94aa1
endian.h: use C-style comments and wrap the comment to 80 characters.
2016-12-07 07:12:46 +00:00
Reece H. Dunn
4aade2fce7
Add an endian.h compatibility shim for portability.
2016-12-07 07:09:51 +00:00
Reece H. Dunn
6cf06a49ef
Add compatibility for the missing S_ISFIFO on Windows.
2016-09-10 10:24:46 +01:00
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
2a652dfe43
Fix forwarding to strings.h on non-msvc builds in the shim header.
2016-02-02 20:02:19 +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
e963b54b6d
Move strerror_r portability to a string.h compatibility shim.
2016-01-23 11:35:07 +00:00
Reece H. Dunn
527f2bc6b2
Add M_PI compatibility when using the msvc standard library.
2016-01-23 10:50:26 +00:00
Reece H. Dunn
9c5820f72a
Create an initial compatibility shim for unistd.h.
2016-01-15 07:22:46 +00:00
Reece H. Dunn
c22550afb5
Use the NetBSD getopt_long implementation on Windows.
...
This makes the espeak-ng.c and speak-ng.c source code easier to
read and maintain. It also addresses bugs in command-line argument
parsing with the espeak implementation, for example it treats
`--compile-phonemes` as `--compile` due to an argument matching bug.
2016-01-13 22:05:41 +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
dea7d441f2
Avoid passing 0 to realloc in ReadPhondataManifest(compiledata.c). [clang scan-build]
2016-01-07 20:46: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
7aa506d145
Use the error context API in espeak_ng_CompilePhonemeData.
2016-01-04 13:42:43 +00:00
Reece H. Dunn
57eb9628d6
Use the error context API in espeak_ng_CompileIntonation.
2016-01-04 13:28:38 +00:00
Reece H. Dunn
82681567e5
Use the error context API in espeak_ng_CompileMbrolaVoice.
2016-01-04 11:35:24 +00:00
Reece H. Dunn
a3f0795fb7
Use the error context API in espeak_ng_CompileDictionary.
2016-01-04 11:28:18 +00:00
Reece H. Dunn
9d860cb180
Support displaying error context information.
2016-01-04 11:07:12 +00:00
Reece H. Dunn
013e282d1a
Use the error context API in espeak_ng_Initialize.
2016-01-04 10:51:19 +00:00
Reece H. Dunn
378490b65f
Create an error context API.
...
This will allow the espeak-ng methods to provide more context
information for the errors that can then be used in things like
GUI applications.
2016-01-04 10:24:38 +00:00
Reece H. Dunn
619fc6424d
Make LoadDataFile return an espeak_ng_STATUS code.
2016-01-03 14:53:11 +00:00
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
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
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
bf6f6f093f
Make Synthesize return an espeak_ng_STATUS code.
2016-01-02 15:55:28 +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
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
74db6dac63
Use the ENOMEM errno code instead of ENE_OUT_OF_MEMORY.
2016-01-02 10:49:37 +00:00