Added set/unset background volume ratio fucntion.
[platform/core/uifw/tts.git] / server / ttsd_config.h
index 26ad74f..dc2fb84 100644 (file)
@@ -25,10 +25,11 @@ typedef enum {
        TTS_CONFIG_TYPE_ENGINE,
        TTS_CONFIG_TYPE_VOICE,
        TTS_CONFIG_TYPE_SPEED,
-       TTS_CONFIG_TYPE_PITCH
+       TTS_CONFIG_TYPE_PITCH,
+       TTS_CONFIG_TYPE_BACKGROUND_VOLUME_RATIO
 } tts_config_type_e;
 
-typedef void (*ttsd_config_changed_cb)(tts_config_type_e type, const char* str_param, int int_param);
+typedef void (*ttsd_config_changed_cb)(tts_config_type_e type, const char* str_param, int int_param, double double_param);
 
 typedef void (*ttsd_config_screen_reader_changed_cb)(bool value);
 
@@ -48,6 +49,8 @@ int ttsd_config_get_default_speed(int* speed);
 
 int ttsd_config_get_default_pitch(int* pitch);
 
+int ttsd_config_get_bg_volume_ratio(double* ratio);
+
 int ttsd_config_save_error(int uid, int uttid, const char* lang, int vctype, const char* text, 
                           const char* func, int line, const char* message);