X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=server%2Fttsd_config.h;h=dc2fb844ef1a5f32cbfc1bd083fc460424af9160;hb=refs%2Ftags%2Faccepted%2Ftizen%2F5.5%2Funified%2Fmobile%2Fhotfix%2F20201027.080119;hp=26ad74fdd18644952f2b9e4b8999ea71b62388d2;hpb=4d11ea92f140bb1d8b494a103deea6ccbc6370fd;p=platform%2Fcore%2Fuifw%2Ftts.git diff --git a/server/ttsd_config.h b/server/ttsd_config.h index 26ad74f..dc2fb84 100644 --- a/server/ttsd_config.h +++ b/server/ttsd_config.h @@ -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);