[Tizen] fix tts issue in text controller 22/287822/5
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 7 Feb 2023 02:06:49 +0000 (11:06 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Wed, 8 Feb 2023 08:27:48 +0000 (17:27 +0900)
commitf60f5a42588b66feece813751ee517d1061f6c3d
tree4825cb5b7814255413c478e7b426547f62f6e2bd
parent1741e6620c8d721469c18faca855b0bfa48910e7
[Tizen] fix tts issue in text controller

When text is entered in IME,
InsertText() can be called several times at the same time. (preedit + commit)

Sometimes the tts player does not respond at this time.
Actually.. tts player works again after checking the connection after a while.
But this wastes the user's time and makes them feel bad.
So I try to avoid this case by reducing unnecessary tts play calls.

Change-Id: I702ca0ed354bcd3c249b6ccc012d4aa23a6b4e08
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/text/text-controller-impl.cpp
dali-toolkit/internal/text/text-controller-impl.h
dali-toolkit/internal/text/text-controller.cpp