SLOG(LOG_INFO, TAG_TTSC, "@@@ Set private data, key(%s), data(%s)", key, data);
if (NULL == tts) {
- SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input handle isnull");
+ SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input handle is null");
return TTS_ERROR_INVALID_PARAMETER;
}
bool credential_needed;
bool internal;
- /* repeatition */
+ /* repetition */
char* text_repeat;
} tts_client_s;
DBusError err;
- /* initialise the error value */
+ /* initialize the error value */
dbus_error_init(&err);
/* connect to the DBUS system bus, and check for errors */
void __setting_config_engine_changed_cb(const char* engine_id, const char* setting, const char* language, int voice_type, bool auto_voice, bool need_credential, void* user_data)
{
- SLOG(LOG_DEBUG, TAG_TTSC, "Engine chagned : engine(%s) setting(%s) lang(%s) type(%d)",
+ SLOG(LOG_DEBUG, TAG_TTSC, "Engine changed : engine(%s) setting(%s) lang(%s) type(%d)",
engine_id, setting, language, voice_type);
if (NULL != g_engine_changed_cb)
* 8. Stop the player <br>
* 9. Destroy a handle <br>
* The TTS API also notifies you (by callback mechanism) when the state of TTS is changed,
- * utterance is started and completed, default voice is changed or an error occured.
+ * utterance is started and completed, default voice is changed or an error occurred.
* An application should register callback functions: tts_state_changed_cb(), tts_utterance_started_cb(),
* tts_utterance_completed_cb(), tts_default_voice_changed_cb(), tts_error_cb(), tts_engine_changed_cb().
*
/**
* @brief Sets server tts.
* @details Using this API, the application can ask server tts with a credential.
- * The credential is a key to verify the authorization about using the engine based on server, not embeded engine.
+ * The credential is a key to verify the authorization about using the engine based on server, not embedded engine.
* If the application sets the credential, it will be able to use functions of the server engine entirely.
* @since_tizen @if MOBILE 3.0
*
/**
* @brief Gets the speed range.
*
-* @param[out] min The minimun speed value
+* @param[out] min The minimum speed value
* @param[out] normal The normal speed value
* @param[out] max The maximum speed value
*
/**
* @brief Gets the pitch range.
*
-* @param[out] min The minimun pitch value
+* @param[out] min The minimum pitch value
* @param[out] normal The normal pitch value
* @param[out] max The maximum pitch value
*
return TTSD_ERROR_OPERATION_FAILED;
}
- /* 2. increse ref count */
+ /* 2. increase ref count */
data->client_ref_count++;
/* 3. if ref count change 0 to 1 and not default, load voice */
return TTSD_ERROR_OPERATION_FAILED;
}
- /* 2. Decrese ref count */
+ /* 2. Decrease ref count */
data->client_ref_count--;
/* 3. if ref count change 0 and not default, load voice */
SLOG(LOG_ERROR, tts_tag(), "Fail to unprepare");
}
- SLOG(LOG_ERROR, tts_tag(), "Destory tts client");
+ SLOG(LOG_ERROR, tts_tag(), "Destroy tts client");
ret = tts_destroy(g_tts);
if (TTS_ERROR_NONE != ret) {
SLOG(LOG_ERROR, tts_tag(), "Fail to destroy");
SLOG(LOG_DEBUG, tts_tag(), " TTS test usage");
SLOG(LOG_DEBUG, tts_tag(), " ==========================================");
SLOG(LOG_DEBUG, tts_tag(), " -t : Synthesize text");
- SLOG(LOG_DEBUG, tts_tag(), " -l : Determine langage to synthesize text, ex) en_US, ko_KR ...");
+ SLOG(LOG_DEBUG, tts_tag(), " -l : Determine language to synthesize text, ex) en_US, ko_KR ...");
SLOG(LOG_DEBUG, tts_tag(), " -f : Determine file path which include text");
SLOG(LOG_DEBUG, tts_tag(), " ***************************************************");
SLOG(LOG_DEBUG, tts_tag(), " Example : #tts-test -l en_US -t \"1 2 3 4\" ");
return 0;
}
- /* check langage option */
+ /* check language option */
if (!strcmp("-l", argv[n])) {
lang = TTS_STRDUP(argv[n+1]);
SLOG(LOG_ERROR, tts_tag(), "Language : %s", lang);