[Windows] Fix TTS events arriving out of order.
This commit is contained in:
committed by
Pāvels Nadtočajevs
parent
f952bfe998
commit
24d51f7635
@ -55,9 +55,9 @@ class TTS_Windows {
|
||||
int id;
|
||||
};
|
||||
HashMap<uint32_t, UTData> ids;
|
||||
bool update_requested = false;
|
||||
|
||||
static void __stdcall speech_event_callback(WPARAM wParam, LPARAM lParam);
|
||||
void _update_tts();
|
||||
|
||||
static TTS_Windows *singleton;
|
||||
|
||||
@ -73,6 +73,8 @@ public:
|
||||
void resume();
|
||||
void stop();
|
||||
|
||||
void process_events();
|
||||
|
||||
TTS_Windows();
|
||||
~TTS_Windows();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user