- 07, May 2020
- #1
Cross Platform Text-to-Speech
January 9, 2017 Erik van Bilsen
Скрытая информация :: Авторизуйтесь для просмотра »
, NumEvents) = S_OK) do
begin
case Event.eEventId of
SPEI_START_INPUT_STREAM:
DoSpeechStarted;
SPEI_END_INPUT_STREAM:
DoSpeechFinished;
end;
FillChar(Event, SizeOf(Event), 0);
end;
end;
This method just processes the event queue for start and finish notifications and fires the OnSpeechStarted and OnSpeechFinished events accordingly.
That covers the most important concepts on the Windows side.
Скрытая информация :: Авторизуйтесь для просмотра »
, NumEvents) = S_OK) do
begin
case Event.eEventId of
SPEI_START_INPUT_STREAM:
DoSpeechStarted;
SPEI_END_INPUT_STREAM:
DoSpeechFinished;
end;
FillChar(Event, SizeOf(Event), 0);
end;
end;
This method just processes the event queue for start and finish notifications and fires the OnSpeechStarted and OnSpeechFinished events accordingly.
That covers the most important concepts on the Windows side.