if (TTS_ERROR_NONE != ret)
{
fprintf(stderr, "Fail to get handle : result(%d)", ret);
- return ret;
+ return -1;
}
else
{
if (TTS_ERROR_NONE != ret)
{
fprintf(stderr, "Fail to set callback : result(%d)", ret);
- return ret;
+ return -1;
}
ret = tts_set_mode(tts, TTS_MODE_SCREEN_READER);
if (TTS_ERROR_NONE != ret)
{
fprintf(stderr, "Fail to set mode : result(%d)", ret);
- return ret;
+ return -1;
}
prepare:
if (TTS_ERROR_NONE != ret)
{
fprintf(stderr, "Fail to register utterance completed callback function : result(%d)", ret);
- return ret;
+ return -1;
}
ret = tts_prepare(tts);
if (TTS_ERROR_NONE != ret)
{
fprintf(stderr, "Fail to prepare handle : result(%d)", ret);
- return ret;
+ return -1;
}
buf = eina_strbuf_new();