Fix to get the maximum text size from the engine meta data
authorsooyeon.kim <sooyeon.kim@samsung.com>
Thu, 20 Apr 2017 00:49:47 +0000 (09:49 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Thu, 27 Apr 2017 08:05:18 +0000 (17:05 +0900)
Change-Id: Ib5e794e053133e77d68465ddd66f57a39474dbf0
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
client/tts.c

index 5ca6f36..911d044 100644 (file)
@@ -1040,6 +1040,7 @@ int tts_add_text(tts_h tts, const char* text, const char* language, int voice_ty
 
        if (0 == g_max_text_size) {
                if (strlen(text) <= 0) {
+                       SLOG(LOG_DEBUG, TAG_TTSC, "[DEBUG] Max Text Size is %d", g_max_text_size);
                        SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input text size is invalid. (max text size is unlimited.)");
                        SLOG(LOG_DEBUG, TAG_TTSC, "=====");
                        SLOG(LOG_DEBUG, TAG_TTSC, " ");