Change-Id: I88a0a4158827b628901dc982197423a4934318a5
Signed-off-by: Kanghee Lee <khee85.lee@samsung.com>
_AccessibilityTtsPlayer::_AccessibilityTtsPlayer(_AccessibilityManager& manager)
: __initialized(false)
_AccessibilityTtsPlayer::_AccessibilityTtsPlayer(_AccessibilityManager& manager)
: __initialized(false)
, __ttsHandle(0)
, __localeIdx(-1)
, __speed(TTS_SPEED_AUTO)
, __ttsHandle(0)
, __localeIdx(-1)
, __speed(TTS_SPEED_AUTO)
SysTryLog(NID_UI, ttsError == TTS_ERROR_NONE, "[%s] Failed to stop.", GetEngineErrorMessage(ttsError));
}
SysTryLog(NID_UI, ttsError == TTS_ERROR_NONE, "[%s] Failed to stop.", GetEngineErrorMessage(ttsError));
}
{
ttsError = tts_unprepare(__ttsHandle);
SysTryLog(NID_UI, ttsError == TTS_ERROR_NONE, "[%s] Failed to unprepare.", GetEngineErrorMessage(ttsError));
{
ttsError = tts_unprepare(__ttsHandle);
SysTryLog(NID_UI, ttsError == TTS_ERROR_NONE, "[%s] Failed to unprepare.", GetEngineErrorMessage(ttsError));
ttsError = tts_prepare(__ttsHandle);
SysTryReturnResult(NID_UI, ttsError == TTS_ERROR_NONE, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] The memory is insufficient.");
ttsError = tts_prepare(__ttsHandle);
SysTryReturnResult(NID_UI, ttsError == TTS_ERROR_NONE, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] The memory is insufficient.");
private:
bool __initialized;
private:
bool __initialized;
tts_h __ttsHandle;
int __localeIdx;
tts_speed_e __speed;
tts_h __ttsHandle;
int __localeIdx;
tts_speed_e __speed;