Change engine default type from NULL to default 22/315722/1
authordyamy-lee <dyamy.lee@samsung.com>
Wed, 4 Dec 2024 08:13:00 +0000 (17:13 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Wed, 4 Dec 2024 08:13:09 +0000 (17:13 +0900)
To invoke engine_set callback, change the default value as "default" from NULL.

Change-Id: If61c4d7c75b536adf952626313ce06650facfa24

server/ttsd_data.cpp

index fe1eb2a22e9c0aaf51e4b93bb20d4b7fd4d6d3de..3b0b357b6a0e377aa7b3d07dba2e8092e5c76653 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 = 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);