/*
-* Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved
+* Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
extern "C" {
#endif
-/**
+/**
* @brief Enumerations of error codes.
*/
typedef enum {
TTS_SETTING_ERROR_NOT_SUPPORTED_FEATURE = TIZEN_ERROR_TTS | 0x06 /**< Not supported feature of current engine */
} tts_setting_error_e;
-/**
+/**
* @brief Definitions for male voice type.
*/
#define TTS_SETTING_VOICE_TYPE_MALE 1
-/**
+/**
* @brief Definitions for female voice type.
*/
#define TTS_SETTING_VOICE_TYPE_FEMALE 2
-/**
+/**
* @brief Definitions for child voice type.
*/
#define TTS_SETTING_VOICE_TYPE_CHILD 3
* @param[in] user_data User data passed from the tts_setting_foreach_supported_engines().
*
* @return @c true to continue with the next iteration of the loop, \n @c false to break out of the loop.
-* @pre tts_setting_foreach_supported_engines() will invoke this callback.
+* @pre tts_setting_foreach_supported_engines() will invoke this callback.
*
* @see tts_setting_foreach_supported_engines()
*/
*
* @param[in] engine_id Engine id
* @param[in] language A language is specified as an ISO 3166 alpha-2 two letter country-code \n
-* followed by ISO 639-1 for the two-letter language code.
+* followed by ISO 639-1 for the two-letter language code.
* For example, "ko_KR" for Korean, "en_US" for American English..
* @param[in] voice_type Voice type
* @param[in] user_data User data passed from the tts_setting_foreach_supported_voices()
int tts_setting_initialize();
/**
-* @brief finalize TTS setting.
+* @brief finalize TTS setting.
*
* @return 0 on success, otherwise a negative error value.
* @retval #TTS_SETTING_ERROR_NONE Success.
* @retval #TTS_SETTING_ERROR_INVALID_STATE Not initialized.
* @retval #TTS_SETTING_ERROR_NOT_SUPPORTED TTS NOT supported
*
-* @post This function invokes tts_setting_supported_engine_cb() repeatedly for getting engine information.
+* @post This function invokes tts_setting_supported_engine_cb() repeatedly for getting engine information.
*
* @see tts_setting_supported_engine_cb()
*/
* @retval #TTS_SETTING_ERROR_OPERATION_FAILED Operation failure.
* @retval #TTS_SETTING_ERROR_NOT_SUPPORTED TTS NOT supported
*
-* @post This function invokes tts_setting_supported_voice_cb() repeatedly for getting supported voices.
+* @post This function invokes tts_setting_supported_voice_cb() repeatedly for getting supported voices.
*
* @see tts_setting_supported_voice_cb()
*/