Fix the description of tts_repeat() 51/270651/3
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 7 Feb 2022 08:25:28 +0000 (17:25 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Wed, 16 Feb 2022 00:58:01 +0000 (09:58 +0900)
Current descprion is not matched with the behavior and purpose of the function.

This patch changes the description in order to match the description and behavior of the function.

Change-Id: I3f8e39348c327206a38522a3853541b6ee1fc1aa
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
include/tts.h

index fc2f5d2..5121f79 100644 (file)
@@ -645,10 +645,11 @@ int tts_stop(tts_h tts);
 int tts_pause(tts_h tts);
 
 /**
- * @brief Repeats the last played text.
+ * @brief Repeats the last added text.
  * @since_tizen 5.0
- * @remarks This function repeats the last played text once. If there is no previous text, this function will not work.
- *          If the language is changed, the last played text is removed.
+ * @remarks This function repeats the last added text once again.
+ *          If there is no previously added text, this function will not work.
+ *          If the language is changed, the last added text is removed from the service.
  *          Before calling this function, please call 'tts_stop()' in order to stop playing the previous one.
  *          If this function succeeds, @a text_repeat must be released with free().
  * @param[in] tts The TTS handle