Fix to get the maximum text size from the engine meta data
[platform/core/uifw/tts.git] / 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, " ");