summaryrefslogtreecommitdiff
path: root/platform/windows/tts_windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/windows/tts_windows.cpp')
-rw-r--r--platform/windows/tts_windows.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/windows/tts_windows.cpp b/platform/windows/tts_windows.cpp
index 6b4b09b2b9..907096d890 100644
--- a/platform/windows/tts_windows.cpp
+++ b/platform/windows/tts_windows.cpp
@@ -251,7 +251,6 @@ TTS_Windows *TTS_Windows::get_singleton() {
TTS_Windows::TTS_Windows() {
singleton = this;
- CoInitialize(nullptr);
if (SUCCEEDED(CoCreateInstance(CLSID_SpVoice, nullptr, CLSCTX_ALL, IID_ISpVoice, (void **)&synth))) {
ULONGLONG event_mask = SPFEI(SPEI_END_INPUT_STREAM) | SPFEI(SPEI_START_INPUT_STREAM) | SPFEI(SPEI_WORD_BOUNDARY);