To invoke engine_set callback, change the default value as "default" from NULL.
Change-Id: If61c4d7c75b536adf952626313ce06650facfa24
speak_data->synth_parameter.volume = volume;
speak_data->synth_parameter.background_volume_ratio = bg_volume;
if (engine_type == NULL) {
- speak_data->synth_parameter.engine_type = nullptr;
+ speak_data->synth_parameter.engine_type = "default";
SLOG(LOG_INFO, tts_tag(), "[DATA INFO] engine_type of synth_parameter is null");
} else {
speak_data->synth_parameter.engine_type = strdup(engine_type);