Fix build error by chainging default engine type 08/315808/1
authordyamy-lee <dyamy.lee@samsung.com>
Thu, 5 Dec 2024 00:45:40 +0000 (09:45 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Thu, 5 Dec 2024 00:45:40 +0000 (09:45 +0900)
Change-Id: Iddd8eaed1516d43346e0f1da088e5aa0f31cf41e

server/ttsd_data.cpp

index 3b0b357b6a0e377aa7b3d07dba2e8092e5c76653..532a8e2c0ae3e51ff67257c0617323f8356e1064 100644 (file)
@@ -519,7 +519,7 @@ speak_data_s* ttsd_data_create_speak_data(const char* text, const char* language
        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 = "default";
+               speak_data->synth_parameter.engine_type = strdup("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);