From 44f7d02807ec0c886c63f71d4855aeeb5bd9935d Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Fri, 3 May 2024 08:09:35 +0900 Subject: [PATCH] Modify c header comment Change-Id: I49ad5501de1bb943bc9af425ae877a05d54ff8eb Signed-off-by: sungwook79.park --- client/tts.c | 6 +++--- include/tts.h | 11 +++++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/client/tts.c b/client/tts.c index c100cc1..fc97a36 100644 --- a/client/tts.c +++ b/client/tts.c @@ -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; } diff --git a/include/tts.h b/include/tts.h index 7e622c6..510d981 100644 --- a/include/tts.h +++ b/include/tts.h @@ -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 -- 2.7.4