Modify c header comment 13/310613/2
authorsungwook79.park <sungwook79.park@samsung.com>
Thu, 2 May 2024 23:09:35 +0000 (08:09 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Tue, 21 May 2024 05:18:08 +0000 (14:18 +0900)
Change-Id: I49ad5501de1bb943bc9af425ae877a05d54ff8eb
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
client/tts.c
include/tts.h

index c100cc1..fc97a36 100644 (file)
@@ -1604,9 +1604,9 @@ int tts_get_pitch_range(tts_h tts, int* min, int* normal, int* max)
        tts_client_s* client = tts_client_get(tts);
        RETVM_IF(NULL == client, TTS_ERROR_INVALID_PARAMETER, "[ERROR] A handle is not valid. tts(%p)", tts);
 
-       *min = 0;
-       *normal = 0;
-       *max = 0;
+       *min = TTS_PITCH_MIN;
+       *normal = TTS_PITCH_NORMAL;
+       *max = TTS_PITCH_MAX;
 
        return TTS_ERROR_NONE;
 }
index 7e622c6..510d981 100644 (file)
@@ -145,6 +145,13 @@ typedef enum {
 
 
 /**
+ * @brief Definition for automatic speaking volume.
+ * @since_tizen 9.0
+*/
+#define TTS_VOLUME_AUTO                0
+
+
+/**
  * @brief Definition for automatic voice type.
  * @since_tizen 2.3
 */
@@ -1166,7 +1173,7 @@ int tts_add_silent_utterance(tts_h tts, unsigned int duration_in_msec, int* utt_
 
 
 /**
- * @brief Creates a handle for TTS synthesis paramter.
+ * @brief Creates a handle for TTS synthesis parameters.
  * @since_tizen 9.0
  * @remarks If the function succeeds, @a paramter handle must be released with tts_synthesis_parameter_destroy().
  * @param[out] parameter The TTS synthesis parameter handle
@@ -1222,7 +1229,7 @@ int tts_synthesis_parameter_set_language(tts_synthesis_parameter_h parameter, co
 int tts_synthesis_parameter_set_voice_type(tts_synthesis_parameter_h parameter, int voice_type);
 
 /**
- * @brief Sets the id for personal voice data.
+ * @brief Sets the ID for personal voice data.
  * @since_tizen 9.0
  * @param[in] parameter The TTS synthesis parameter handle
  * @param[in] ptts_id The id for personal voice data