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
bb465a45d8
Move the clock_gettime2 and add_time_in_ms definitions to event.h.
9 years ago
Reece H. Dunn
ca831d236a
Don't call wave_close in fifo.c.
This is handled by calls to espeak_ng_Cancel/espeak_Cancel and
espeak_ng_Terminate/espeak_Terminate.
9 years ago
Reece H. Dunn
674d55e605
Remove support for pa_device in the config file (now have a device command-line option).
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
4a2994d1d3
Remove calls to wave_get_remaining_time.
This logic was implemented to limit the number of audio events sent
to a device, but the logic is not too relevant in practice (these
calls return 0 most of the time), and the logic is broken (e.g. when
calling Synthesize with a very long block of text).
9 years ago
Reece H. Dunn
f138558fe7
Fix the USE_ASYNC and wave_* API usage logic.
9 years ago
Reece H. Dunn
1d91276eac
wave_get_read_position is not used, so remove it
9 years ago
Reece H. Dunn
71b998b691
Remove duplicate t_wave_callback definition in wave.c.
9 years ago
Reece H. Dunn
7a4bc02cb6
Use stdlib.h instead of malloc.h.
9 years ago
Reece H. Dunn
eebb079718
Remove the Wave(Init|Open|Close)Sound functions as these are no longer used.
9 years ago
Reece H. Dunn
4cde8b6d13
option_quiet is no longer used (always set to 0), so remove it
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
a51717346c
SpeakNextClause should not call WavegenOpenSound.
This function call does not affect the audio output in non-async
modes. Audio output in that case is handled within the SynthOnTimer
helper function.
9 years ago
Reece H. Dunn
c09d255e38
Remove timer_on from synthesize.c as this matches the SpeakNextClause return value.
9 years ago
Reece H. Dunn
a471ba02bf
SynthStatus is not called, so remove it.
9 years ago
Reece H. Dunn
8df810f776
Remove paused from synthesize.c as it is now no longer used.
9 years ago
Reece H. Dunn
2eca970fc8
Remove the control 3-5 logic in SpeakNextClause as those values are not passed to the function.
9 years ago
Reece H. Dunn
2a652dfe43
Fix forwarding to strings.h on non-msvc builds in the shim header.
9 years ago
Reece H. Dunn
1d4fa18884
speak-ng: use the espeak-ng.c implementation in synchronous playback mode
9 years ago
Reece H. Dunn
211f103a69
Perform case insensitive comparisons for matching voice names.
9 years ago
Reece H. Dunn
565548fffe
Fix building 'my' (Burmese) on Windows.
9 years ago
Reece H. Dunn
83040bd560
MSI: install the phoneme, dictionary and voice data
9 years ago
Reece H. Dunn
07c12368d9
MSI: embed the cabinet file inside the msi installer
9 years ago
Reece H. Dunn
3b1f91352d
MSI: moved the component definitions to the Directory elements
9 years ago
Reece H. Dunn
a3f0fea725
MSI: only keep Ids on Directory and ComponentGroup elements
9 years ago
Reece H. Dunn
73f2f27606
MSI: give the components being installed GUIDs
9 years ago
Reece H. Dunn
1533c33c34
MSI: only allow one version (64-bit or 32-bit) to be installed
9 years ago
Reece H. Dunn
40f4089a78
MSI: replace tabs with spaces in Product.wxs
9 years ago
Reece H. Dunn
7a50cbcdcc
MSI: set the Path registry value to the install directory
9 years ago
Reece H. Dunn
f850179478
Initial WiX based installer for Windows to install libespeak-ng.dll and espeak-ng.exe.
9 years ago
Reece H. Dunn
1e76d38cb9
Build the 'mt', 'tn' and 'tt' language dictionaries.
9 years ago
Reece H. Dunn
d326c8d720
Add dependencies to the intonation, phoneme and dictionary targets in data.vcxproj.
9 years ago
Reece H. Dunn
dc87e7b775
Use a HAVE_MKSTEMP configure check instead of PLATFORM_POSIX.
9 years ago
Reece H. Dunn
0b187e217e
Use the same logic when calling sox in readclause.c as compiledata.c for portability.
9 years ago
Reece H. Dunn
04fe6cdc06
SAPI - Initialise espeak-ng in SetObjectToken.
9 years ago
Reece H. Dunn
7e33a3e4db
SAPI - Improve the error logic in Get/SetObjectToken.
9 years ago
Reece H. Dunn
42e2422878
SAPI - Implement GetOutputFormat.
9 years ago
Reece H. Dunn
fe3053f849
SAPI - Implement Get/SetObjectToken.
9 years ago
Reece H. Dunn
bc0b445281
Create a skeleton SAPI TtsEngine COM object.
9 years ago
Reece H. Dunn
77b5f6a1c0
Use BCP 47 conformant language codes for the languages and accents.
9 years ago
Reece H. Dunn
e8015df0f8
Remove the additional LoadVoice search heuristics.
These heuristics were designed to guess the location of the voice
files without searching the voice list. The heuristics are very
implementation dependent, and easily break when voices move around.
The voices are still found correctly, so these heuristics are
redundant.
9 years ago
Reece H. Dunn
7048ebdccf
Provide skeleton DllGetClassObject and DllCanUnloadNow implementations.
9 years ago