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.
9 years ago
Christopher Brannon
3ed0b5cd0f
espeak_ng_Cancel(): discard the audio, don't close the device!
This function should just discard the currently playing audio,
rather than close the audio device. After all,
we will probably want to synthesize something else later.
9 years ago
Reece H. Dunn
d4bc2c328e
speech: Avoid warnings when using my_mode as a flag-based enumeration.
9 years ago
Reece H. Dunn
496ff35634
WVoiceChanged is not used, so remove it.
9 years ago
Reece H. Dunn
b7b2567eb1
Build the Visual Studio 2015 Windows project with pcaudiolib xaudio2 support.
9 years ago
Reece H. Dunn
c944a17d7d
Output any audio errors to stderr.
9 years ago
Reece H. Dunn
4f676ed175
Use pcaudiolib for the audio API layer.
9 years ago
Reece H. Dunn
be93c8b3e7
Remove calls to wave_is_busy.
Removing these calls do not impact on the behaviour of the program
and simplify the wave.h API.
9 years ago
Reece H. Dunn
94c5efe0b3
Remove calls to wave_set_callback_is_output_enabled.
These calls are used to pre-emptively exit when writing audio
data. This is also handled within dispatch_audio. The difference
is that this callback could allow espeak to cancel quicker. In
practice it does not make much difference.
9 years ago
Reece H. Dunn
2a628e982f
Remove calls to wave_get_write_position.
This call was used to update the written sample count used by
wave_get_remaining_time. As that function has been removed, this
code is no longer needed.
9 years ago
Reece H. Dunn
f138558fe7
Fix the USE_ASYNC and wave_* API usage logic.
9 years ago
Reece H. Dunn
914e64aba8
option_waveout is no longer used in libespeak-ng, so remove it
9 years ago
Reece H. Dunn
c9c0aca34f
Use the wave_* APIs for non-async audio.
9 years ago
Reece H. Dunn
f07dc419a6
Fix audio output in espeak-ng when USE_ASYNC is not defined.
9 years ago
Reece H. Dunn
c4a7ffba33
Inline the call to SynthOnTimer.
9 years ago
Reece H. Dunn
7a50cbcdcc
MSI: set the Path registry value to the install directory
9 years ago
Reece H. Dunn
02b7359b6a
Fix a potential null pointer dereference in espeak_ng_SynthesizeMark. [Coverity]
9 years ago
Reece H. Dunn
6a4fc79078
Fix a potential null pointer dereference in espeak_ng_Synthesize. [Coverity]
9 years ago
Reece H. Dunn
bbd981efb8
Use malloc/strdup instead of Alloc.
9 years ago
Reece H. Dunn
325014da42
Use free instead of Free as free checks for NULL.
9 years ago
Reece H. Dunn
c0d79709c4
Fix Windows includes (don't rely on speech.h).
9 years ago
Reece H. Dunn
7d900fb8b0
Remove includes from internal header files.
9 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
9 years ago
Reece H. Dunn
9a03414e99
Guard calls to the synth_callback function, as it might be NULL.
9 years ago
Reece H. Dunn
3d55519f27
Correct the usage of USE_ASYNC when async is disabled.
9 years ago
Reece H. Dunn
9c5820f72a
Create an initial compatibility shim for unistd.h.
9 years ago
Reece H. Dunn
54f8c672e5
Fix the realloc usage of event_list in espeak_ng_InitializeOutput(speech.c) [msvc /analyze]
9 years ago
Reece H. Dunn
5de96146e1
Fix the realloc usage of outbuf in espeak_ng_InitializeOutput(speech.c) [msvc /analyze]
9 years ago
Reece H. Dunn
0ca520a4ec
Revert the gcc sign conversion warning fixes.
This reverts commits 0cc0300328
to
38d15f8f90
.
The 0cc03003
commit breaks MBROLA voice support. As such, there
may be other breakages in those commits.
9 years ago
Reece H. Dunn
0cc0300328
Fix gcc sign conversion warnings in espeak-ng.c.
9 years ago
Reece H. Dunn
11101806ce
Support building espeak-ng.exe with Visual C++.
9 years ago
Reece H. Dunn
c1f1efc78b
Passing NULL to event_declare will set err to EINVAL, so don't process the event in that case.
9 years ago
Reece H. Dunn
01756bf910
Remove a dead assignment in Synthesize(speech.c) [clang scan-build]
9 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
9 years ago
Reece H. Dunn
013e282d1a
Use the error context API in espeak_ng_Initialize.
9 years ago
Reece H. Dunn
8c0d4a993d
Move the error formatting code to error.c.
9 years ago
Reece H. Dunn
619fc6424d
Make LoadDataFile return an espeak_ng_STATUS code.
9 years ago
Reece H. Dunn
f8b3764bef
Create espeak-ng APIs for formatting espeak_ng_STATUS codes.
9 years ago
Reece H. Dunn
6aeb5a26f0
Replace the remaining espeak_ERROR code usage with espeak_ng_STATUS.
9 years ago
Reece H. Dunn
3343bb45b6
Make the event API use espeak_ng_STATUS.
9 years ago
Reece H. Dunn
cec20ab48a
Move callback API implementations back to speech.c.
9 years ago
Reece H. Dunn
d5fdd0eb92
Create an espeak-ng version of espeak_Terminate.
9 years ago
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