} else {
SLOG(LOG_INFO, TAG_TTSCONFIG, "Client type is default. Skip saving configuration file.");
}
+
config_info.auto_voice = value;
+ if (0 != tts_parser_set_config_info(&config_info)) {
+ SLOG(LOG_ERROR, TAG_TTSCONFIG, "[ERROR] Fail to set configure information");
+ return TTS_CONFIG_ERROR_OPERATION_FAILED;
+ }
if (true == config_info.auto_voice) {
__tts_config_set_auto_language();
}
}
- if (0 != tts_parser_set_config_info(&config_info)){
- SLOG(LOG_ERROR, TAG_TTSCONFIG, "[ERROR] Fail to set configure information");
- return TTS_CONFIG_ERROR_OPERATION_FAILED;
- }
-
return TTS_CONFIG_ERROR_NONE;
}