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);
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);