platform/core/uifw/tts.git
4 days agoadd or change logs for detecting detailed log 63/319663/2 accepted/tizen_unified tizen accepted/tizen/unified/20241031.164453
dyamy-lee [Tue, 29 Oct 2024 13:48:46 +0000 (22:48 +0900)]
add or change logs for detecting detailed log

Change-Id: I1114a7fe93411e238f9f0eb73fe56db728007ced

12 days agoAdd ttse internal header file in engine devel packages 69/319369/1 accepted/tizen/unified/20241030.154502
sooyeon [Tue, 22 Oct 2024 05:33:05 +0000 (14:33 +0900)]
Add ttse internal header file in engine devel packages

Change-Id: I43c4c18d17d5e19618a5d9edd20a0ebe19793517
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
3 weeks agoUpdate version (1.90.13) 85/318785/1 accepted/tizen_9.0_unified accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen_9.0 accepted/tizen/9.0/unified/20241030.234218 accepted/tizen/unified/20241011.010647 accepted/tizen/unified/toolchain/20241022.122501 accepted/tizen/unified/toolchain/20241022.122931 accepted/tizen/unified/x/20241011.021812 accepted/tizen/unified/x/asan/20241014.000058 tizen_9.0_m2_release
dyamy-lee [Tue, 8 Oct 2024 08:49:11 +0000 (17:49 +0900)]
Update version (1.90.13)

Change-Id: Ia1aa88f7274af28c4787e06882359e2a6f90cabd

3 weeks agoTo prevent potential problem of dangling pointer 82/318782/1
dyamy-lee [Tue, 8 Oct 2024 08:39:11 +0000 (17:39 +0900)]
To prevent potential problem of dangling pointer

This patch set NULL to prevent potential dangling pointer problem after calling free().

Change-Id: If25c2cf46ecc164b5b09543777051076bb293d30

3 weeks agofix to avoid null checking error in tts_tidl_request_add_text_with_synthesis_parameter 81/318781/1
dyamy-lee [Tue, 8 Oct 2024 08:30:35 +0000 (17:30 +0900)]
fix to avoid null checking error in tts_tidl_request_add_text_with_synthesis_parameter

Rpc_port api checks parameters' null value in their side.
But, synthesis parameter handle can have null value if client is not setting.
So, to prevent this error return, this patch adds 'NULL' string.

Change-Id: Ic393cf17b3dbe2a5cdad00b7749639bd9dba4865

3 weeks agoUpdate version (1.90.12) 49/318749/1
dyamy-lee [Tue, 8 Oct 2024 01:50:46 +0000 (10:50 +0900)]
Update version (1.90.12)

Change-Id: Id9c739fee283a38cdf7445e33d2072f44a889314

3 weeks agoMerge "Add internal apis for setting engine_type of synthesized speech" into tizen
Wonnam Jang [Tue, 8 Oct 2024 01:46:20 +0000 (01:46 +0000)]
Merge "Add internal apis for setting engine_type of synthesized speech" into tizen

3 weeks agoAdd internal apis for setting engine_type of synthesized speech 51/318151/3
sooyeon [Wed, 25 Sep 2024 06:28:17 +0000 (15:28 +0900)]
Add internal apis for setting engine_type of synthesized speech

Change-Id: Id144433609ea541de2509ef8242de2ef2f9f6104
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
5 weeks agoUpdate version (1.90.11) 62/318362/1 accepted/tizen/unified/20240930.043752 accepted/tizen/unified/toolchain/20241004.101732 accepted/tizen/unified/x/20240930.091226
sooyeon [Fri, 27 Sep 2024 07:42:16 +0000 (16:42 +0900)]
Update version (1.90.11)

Change-Id: Ie088029ff9b0c18f20cae4715ccaa4f63a65bc0f
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
5 weeks agochecked return of deactivateDuckingAll 87/318287/1
dyamy-lee [Thu, 26 Sep 2024 10:49:46 +0000 (19:49 +0900)]
checked return of deactivateDuckingAll

When BackgroundVolume Object destructor called, if deactivateDuckingAll is failed, it trys one more time.
In that case, previous it didn't check the result, but now, it checks the result as log.

Change-Id: Idef650ddbda17ff96c92547fda7f671974afd8ca

5 weeks agochange strerror to strerror_r for thread safety 86/318286/2
dyamy-lee [Thu, 26 Sep 2024 10:35:13 +0000 (19:35 +0900)]
change strerror to strerror_r for thread safety

Change-Id: Ie9ede43e14965eae46cb3730b0ea15d8ee11f649

5 weeks agoSeparate gcc version for gcov guild 39/318239/1
sooyeon [Thu, 26 Sep 2024 02:06:38 +0000 (11:06 +0900)]
Separate gcc version for gcov guild

Change-Id: If47ebfd72b58d32b099e240e6aac04a9cf0d79a8
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
5 weeks agoUpdate version (1.90.10) 76/318176/1
dyamy-lee [Wed, 25 Sep 2024 08:28:16 +0000 (17:28 +0900)]
Update version (1.90.10)

Change-Id: I108102d00b00622ecf5c8f909da806789c3ace57

5 weeks agochange the 'duration_in_msec' type from long to unsigned int 69/318169/1
dyamy-lee [Wed, 25 Sep 2024 07:42:53 +0000 (16:42 +0900)]
change the 'duration_in_msec' type from long to unsigned int

The change type is not safety from unsigned int to long.
And, in other side, related variables are used as unsigned int.
So, this patch changes it to unsigned int variable.

Change-Id: I59b4805abac695edf77e6a6854c67104d591d619

5 weeks agoadd printing errno 68/318168/1
dyamy-lee [Wed, 25 Sep 2024 07:52:52 +0000 (16:52 +0900)]
add printing errno

In tts_parser_get_personal_info(), it can show the result of errno

Change-Id: I1ab75f45a954475e9dbe125d93ffd0acb1bba124

5 weeks agochange the return value for solving corrupt issue 46/318146/2
dyamy-lee [Wed, 25 Sep 2024 05:46:38 +0000 (14:46 +0900)]
change the return value for solving corrupt issue

It can occur an corrupt error when there is no personal xml file but return 0.
So, this patch changed this as return error type no file and only that case makes as success and returns.

Change-Id: I1b06df9bb2d637dfdda851577232f837a0158bfe

5 weeks agochecking personal xml file exist 97/318097/1
dyamy-lee [Tue, 24 Sep 2024 11:34:15 +0000 (20:34 +0900)]
checking personal xml file exist

Before checking the access about personal xml file, check the existance first.
If there is no file and no personal voice list, it is not an error.
Only accessing fail and parsing error are defined an error.

Change-Id: I9eb1cff2a39e02a11b2bb0141c0ad292c3f0171d

5 weeks agoMerge "Modify callback(name and parameter) and Remove unused return value" into tizen
sungwook park [Mon, 23 Sep 2024 10:20:29 +0000 (10:20 +0000)]
Merge "Modify callback(name and parameter) and Remove unused return value" into tizen

5 weeks agoModify callback(name and parameter) and Remove unused return value 15/317615/3
sungwook79.park [Thu, 12 Sep 2024 08:17:42 +0000 (17:17 +0900)]
Modify callback(name and parameter) and Remove unused return value

Change-Id: I397cfe504e372fa3fb954d04d28ec77ef6118d99
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
5 weeks agoRemoving the parameter 'void* user_data' in ttse_send_personal_voice 36/317936/2
dyamy-lee [Fri, 20 Sep 2024 03:38:25 +0000 (12:38 +0900)]
Removing the parameter 'void* user_data' in ttse_send_personal_voice

In that code, the parameter 'user_data' is used as 'engine_id'.
However if it changed to 'engine_id' or stayed 'user_data', it can be entered wrong engine name from the engine's set.
So, it removed parameter sent from engine, and it finds itself what is current engine.

Change-Id: Ic4e0b05c5d46d1c85718246af3d5a1f2770a88f8

6 weeks agoRemoved the variable 'credential' which is passed to __wait_synthesis() 35/317935/1
dyamy-lee [Thu, 19 Sep 2024 10:56:39 +0000 (19:56 +0900)]
Removed the variable 'credential' which is passed to __wait_synthesis()

This patch removed passing 'credential' to __wait_synthesis() function, because it is not used in there.

Change-Id: I56b108d1709d8642e50465ad1ca11ff21666d43f

6 weeks agoAdded the missing parts for free'ing ptts_id 34/317934/1
dyamy-lee [Thu, 19 Sep 2024 10:52:22 +0000 (19:52 +0900)]
Added the missing parts for free'ing ptts_id

Change-Id: Iea8ba59775d09e9b40a77264bcbd61142c7d307e

7 weeks agoadd calling personal_info free function when its usage is over 90/317690/2
dyamy-lee [Fri, 13 Sep 2024 04:53:56 +0000 (13:53 +0900)]
add calling personal_info free function when its usage is over

Change-Id: I591e2e1ca32b7eb088f1499bb1aa87b245fe90d8

7 weeks agoremove the function which is calling duplicated in one api 89/317689/2
dyamy-lee [Fri, 13 Sep 2024 04:40:42 +0000 (13:40 +0900)]
remove the function which is calling duplicated in one api

tts_config_mgr_update_personal_voice() api is called twice.
When it was updated about checking duplication, this api was remained wrong location.
So, this patch removes it.

Change-Id: Iacf275a6af332591e665a68c82f523949dc131c7

7 weeks agoadd free'ing current_engine variable 88/317688/2
dyamy-lee [Fri, 13 Sep 2024 01:57:58 +0000 (10:57 +0900)]
add free'ing current_engine variable

Change-Id: I201bf37c6a523a598a2b9e7af3085606f0c92237

7 weeks agochange the free'ing location to cover whole crediential variable's resource leak 87/317687/2
dyamy-lee [Fri, 13 Sep 2024 01:50:55 +0000 (10:50 +0900)]
change the free'ing location to cover whole crediential variable's resource leak

Change-Id: I49863bd361f3ea1c7190ffd66ed4a4c51539fa0f

7 weeks agoAdd free'ing the return value of ptts_id 36/317636/3
dyamy-lee [Thu, 12 Sep 2024 05:02:35 +0000 (14:02 +0900)]
Add free'ing the return value of ptts_id

Change-Id: I6a16e81b085022ad0f17684d8c119a45cbc7105b

7 weeks agoAdd free'ing the voice list 35/317635/2
dyamy-lee [Tue, 10 Sep 2024 04:54:43 +0000 (13:54 +0900)]
Add free'ing the voice list

Change-Id: Id52ab4ba73dc9790e126433fe215734ca1d137cc

7 weeks agoAdd space and descriptions for ACR APIs 34/317634/2
dyamy-lee [Tue, 10 Sep 2024 04:53:07 +0000 (13:53 +0900)]
Add space and descriptions for ACR APIs

Change-Id: I6ba85bf068c0da19470ce74bbeb5bf6743cf3bae

7 weeks agoAdd package name to user_data when calling ttse_send_personal_voice 90/315590/3
sungwook79.park [Mon, 5 Aug 2024 04:52:56 +0000 (13:52 +0900)]
Add package name to user_data when calling ttse_send_personal_voice

Change-Id: Ifffd2bd905565715fa273ba9de667aad2ef53875
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
7 weeks agoAdd logic to check duplicate when personal voice is updated with ttse_send_personal_v... 22/315522/3
sungwook79.park [Fri, 2 Aug 2024 04:40:16 +0000 (13:40 +0900)]
Add logic to check duplicate when personal voice is updated with ttse_send_personal_voice api

Change-Id: I1a905c9a281c96256a6852bb47c7d5b1d2b51715
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
7 weeks agochange the way of getting engine_id when updating personal voice 93/315193/7
dyamy-lee [Fri, 26 Jul 2024 08:56:52 +0000 (17:56 +0900)]
change the way of getting engine_id when updating personal voice

When calling ttsd_config_update_personal_voice(), it gets engine_id by checking current engine from app_id.
So, tts_config_mgr_update_personal_voice() API uses this input parameter. Not use default engine id.

Change-Id: If04861cc4c5faf69f5146c6d64bd862d67e48a1d

7 weeks agoAdd checking personal voice and create speak data with personal voice id 21/317621/1
dyamy-lee [Fri, 26 Jul 2024 02:22:36 +0000 (11:22 +0900)]
Add checking personal voice and create speak data with personal voice id

For executing add_text_with_synthesis_parameter, it needs some checking points.
First, it adds some logic for checking personal voice information as voice_list in ttsd_engine_select_valid_voice.
Then, it needs to create speak data with personal voice information.
For that, ttsd_engine_start_synthesis API also needs ptts_id as parameter.

Change-Id: I5348fd761693759c7867493b675c5ea35842bc8c

7 weeks agoAdd client API for letting know personal voices list to client 20/317620/1
dyamy-lee [Wed, 24 Jul 2024 08:25:52 +0000 (17:25 +0900)]
Add client API for letting know personal voices list to client

The client can know personal voices list with tts_foreach_supported_personal_voices() API

Change-Id: I85da5d52f280ef8edcbf5c2fb583566f78e13aad

7 weeks agoadd printing api for personal voices 19/317619/1
dyamy-lee [Wed, 24 Jul 2024 07:39:58 +0000 (16:39 +0900)]
add printing api for personal voices

Change-Id: Icc68669af2c5d56b177e113ab1ca1e19768088db

7 weeks agoAdd ttse_send_personal_voice API for saving personal voice information 18/317618/1
dyamy-lee [Wed, 24 Jul 2024 07:38:53 +0000 (16:38 +0900)]
Add ttse_send_personal_voice API for saving personal voice information

When TTS Engine calls ttse_send_personal_voice(), it save the personal voice information which is parameter of ttse_send_personal_voice.
This api is finding xml file with engine name, and saves the language, unique_id, display_name, device_name.

Change-Id: I8632edf1652fca6ab454617e8dcaebfda49096a1

8 weeks agoFix potential problem 73/317173/1
sungwook79.park [Thu, 5 Sep 2024 06:18:23 +0000 (15:18 +0900)]
Fix potential problem

Change-Id: I6f9cb61e73c960d9dd35bef0bd7f198bdafec10d
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
2 months agoRevert "Add ttse_send_personal_voice API for saving personal voice information" 55/316955/1 accepted/tizen_unified_dev accepted/tizen/unified/20240905.164030 accepted/tizen/unified/dev/20240910.111606 accepted/tizen/unified/x/20240906.021658
dyamy-lee [Mon, 2 Sep 2024 01:53:41 +0000 (10:53 +0900)]
Revert "Add ttse_send_personal_voice API for saving personal voice information"

This reverts commit 9d26075cda1ba702f89fbf6a072c1118f6f88f4d.

Change-Id: If1e9031e4050d02756873c7bed098b0864ba1386

2 months agoRevert "add printing api for personal voices" 54/316954/1
dyamy-lee [Mon, 2 Sep 2024 01:53:05 +0000 (10:53 +0900)]
Revert "add printing api for personal voices"

This reverts commit c489db72256a4a44e4ef7e587b278e2e19bf4a42.

Change-Id: Ia977b3620f6c0c5e256776521861c49cb4b82721

2 months agoRevert "Add client API for letting know personal voices list to client" 53/316953/1
dyamy-lee [Mon, 2 Sep 2024 01:52:58 +0000 (10:52 +0900)]
Revert "Add client API for letting know personal voices list to client"

This reverts commit 97c528bb6b63162a9ab312686a5e20d6102dbc97.

Change-Id: Ic1417abd2b7f53e2ef12090092b93772f2cb938b

2 months agoRevert "Add checking personal voice and create speak data with personal voice id" 52/316952/1
dyamy-lee [Mon, 2 Sep 2024 01:52:50 +0000 (10:52 +0900)]
Revert "Add checking personal voice and create speak data with personal voice id"

This reverts commit 1a99787008f1349c1602a0e6cf27af1d532812b9.

Change-Id: I11b96656d72ca036abc9d2ce486b21b82c5b7149

2 months agoUpdate version (1.90.9) 87/316787/1 accepted/tizen/unified/20240829.091438 accepted/tizen/unified/dev/20240901.214742 accepted/tizen/unified/x/20240829.105230
sooyeon [Wed, 28 Aug 2024 05:37:23 +0000 (14:37 +0900)]
Update version (1.90.9)

Change-Id: Ib909a513f640ff31203781bda403260e4d68ae37
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
2 months agoMerge "Add ttsd_player_wait_to_play for creating AudioStream" into tizen
Sooyeon Kim [Wed, 28 Aug 2024 05:33:24 +0000 (05:33 +0000)]
Merge "Add ttsd_player_wait_to_play for creating AudioStream" into tizen

2 months agoAdd ttsd_player_wait_to_play for creating AudioStream 94/316694/1
dyamy-lee [Mon, 19 Aug 2024 11:45:47 +0000 (20:45 +0900)]
Add ttsd_player_wait_to_play for creating AudioStream

When playing tts with pcm, it also needs creating AudioStream instance.
`ttsd_player_wait_to_play` API helps this, and it makes same logic with `ttsd_server_play` API.

Change-Id: I6b912b006bb8d40720b54823ad2352985bf8344d

2 months agoMove creating AudioStream instance when playing tts is requested 93/316693/1
sooyeon [Wed, 14 Aug 2024 11:01:14 +0000 (20:01 +0900)]
Move creating AudioStream instance when playing tts is requested

- Issue:
At booting time, there is a case that focus server is not ready.
Because focus server is not ready, initializing TTS engine is delayed with blocking a main thread.

- Solution:
Initializing AudioStream is moved to be invoked when playing TTS is requested.

Change-Id: I141b9a1e7f2835675f625c778968d9308ec3c121
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
3 months agoAdd checking personal voice and create speak data with personal voice id 71/315171/1
dyamy-lee [Fri, 26 Jul 2024 02:22:36 +0000 (11:22 +0900)]
Add checking personal voice and create speak data with personal voice id

For executing add_text_with_synthesis_parameter, it needs some checking points.
First, it adds some logic for checking personal voice information as voice_list in ttsd_engine_select_valid_voice.
Then, it needs to create speak data with personal voice information.
For that, ttsd_engine_start_synthesis API also needs ptts_id as parameter.

Change-Id: I7dbba865b691ddef3f51c4513057707000e455e6

3 months agoAdd client API for letting know personal voices list to client 70/315170/1
dyamy-lee [Wed, 24 Jul 2024 08:25:52 +0000 (17:25 +0900)]
Add client API for letting know personal voices list to client

The client can know personal voices list with tts_foreach_supported_personal_voices() API

Change-Id: I0fc8eb5713183ae429d1ea163ccd42a6590acea4

3 months agoadd printing api for personal voices 69/315169/1
dyamy-lee [Wed, 24 Jul 2024 07:39:58 +0000 (16:39 +0900)]
add printing api for personal voices

Change-Id: I0f0bc95a6f2303a83b40ed3478b431aaaaaa9b12

3 months agoAdd ttse_send_personal_voice API for saving personal voice information 68/315168/1
dyamy-lee [Wed, 24 Jul 2024 07:38:53 +0000 (16:38 +0900)]
Add ttse_send_personal_voice API for saving personal voice information

When TTS Engine calls ttse_send_personal_voice(), it save the personal voice information which is parameter of ttse_send_personal_voice.
This api is finding xml file with engine name, and saves the language, unique_id, display_name, device_name.

Change-Id: Ie2650d9c281607b286a458608ee4661e478ec0b4

3 months agoFix typo and memory free 53/315053/1
sungwook79.park [Wed, 24 Jul 2024 06:00:49 +0000 (15:00 +0900)]
Fix typo and memory free

Change-Id: I78504ac44ce378d6580db74a98486d339b634250
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
3 months agoremove description for unknown function that doesn't exist 43/314743/1
Sejun Park [Thu, 18 Jul 2024 08:33:22 +0000 (17:33 +0900)]
remove description for unknown function that doesn't exist

Change-Id: I397ec6b01d7c983ba4e7d75c5f5006c933161b6a

3 months agoUpdate version (1.90.8) 18/314718/1 accepted/tizen/unified/20240724.120342 accepted/tizen/unified/dev/20240729.000844 accepted/tizen/unified/toolchain/20240812.132852 accepted/tizen/unified/x/20240724.211507 accepted/tizen/unified/x/asan/20240813.231142
sooyeon [Thu, 18 Jul 2024 05:45:43 +0000 (14:45 +0900)]
Update version (1.90.8)

Change-Id: I26b9b17a4ad0c22dc6674f6cea8514a3a7e0f3d6
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
3 months agoFix issue that failed to call synthesis parameter api over TIDL 17/313717/5
sungwook79.park [Mon, 1 Jul 2024 07:08:37 +0000 (16:08 +0900)]
Fix issue that failed to call synthesis parameter api over TIDL

Change-Id: I9076ebf0333526f8083014b99b2f0aedd717c757
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
3 months agoUpdate OSU script for sync with tizen_8.0 78/314678/1
dyamy-lee [Wed, 17 Jul 2024 07:57:29 +0000 (16:57 +0900)]
Update OSU script for sync with tizen_8.0

Change-Id: Ic924f8f11c4c9a926cce2ebbe85592b1097a10de

3 months agoFix issues that detected by static analysis tool 84/314584/1
sungwook79.park [Tue, 16 Jul 2024 02:54:56 +0000 (11:54 +0900)]
Fix issues that detected by static analysis tool

Change-Id: Ib0d344549d6ede064739c2c308fbd8a6fd65c1d6
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
3 months agoMake ttse_set_personal_tts_id_cb optional callback 49/314249/1
sooyeon [Tue, 9 Jul 2024 08:19:00 +0000 (17:19 +0900)]
Make ttse_set_personal_tts_id_cb optional callback

Change-Id: I6ac487d6d79aa8ab3b55a50c7df68402cbf67e9e
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
3 months agoUpdate version (1.90.7) 11/314211/1
sooyeon [Tue, 9 Jul 2024 00:41:17 +0000 (09:41 +0900)]
Update version (1.90.7)

Change-Id: Ic05fb15e5a1724a867d2a304e5cb99a6034645d8
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
3 months agoAdd mutex and check whether destroying rpc handle is requested or not 53/314053/8
sooyeon [Thu, 4 Jul 2024 10:40:13 +0000 (19:40 +0900)]
Add mutex and check whether destroying rpc handle is requested or not

- Issue:
rpc handle double free issue is occurred.

- Solution:
We check whether destroying rpc handle is requested or not. Also, we add mutex to protect rpc handle access.

Change-Id: I6db79b254b4c7283ad69f40d8a9d878c9ee24c0f
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
4 months agoAdd PATH environment variable in a OSU script by Security guide 29/313729/1
wn.jang [Mon, 1 Jul 2024 08:04:20 +0000 (17:04 +0900)]
Add PATH environment variable in a OSU script by Security guide

Change-Id: Ic10d01f5f5c9628dff9e97a469b4dbff8d731c69

4 months agoFix gcc14 build issue and Update version (1.90.6) 29/312329/2 accepted/tizen/unified/20240611.123502 accepted/tizen/unified/20240611.162801 accepted/tizen/unified/dev/20240620.010356 accepted/tizen/unified/toolchain/20240610.173109 accepted/tizen/unified/x/20240610.223642 accepted/tizen/unified/x/asan/20240625.092413
sooyeon [Fri, 7 Jun 2024 00:13:48 +0000 (09:13 +0900)]
Fix gcc14 build issue and Update version (1.90.6)

Change-Id: If7b289b8df5598fa15d85fea14d62d0bd9b0f139
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
5 months agoAdd g_steal_pointer to avoid double-free 32/311532/1
sooyeon [Mon, 15 Apr 2024 07:34:36 +0000 (16:34 +0900)]
Add g_steal_pointer to avoid double-free

Change-Id: I9e755e7fd34f2f3b426303683833707a07a899fd
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
(cherry picked from commit 1f94e6693848154ae8d802215cb927584853b59d)

5 months agoAdd tts engine api for synthesis parameter instead of changing ttsd_engine_start_synt... 14/310614/2
sungwook79.park [Thu, 2 May 2024 23:12:01 +0000 (08:12 +0900)]
Add tts engine api for synthesis parameter instead of changing ttsd_engine_start_synthesis api

Change-Id: I1da7268eb24a71dadc89a91548a9bf1ccc334328
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
5 months agoModify c header comment 13/310613/2
sungwook79.park [Thu, 2 May 2024 23:09:35 +0000 (08:09 +0900)]
Modify c header comment

Change-Id: I49ad5501de1bb943bc9af425ae877a05d54ff8eb
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
5 months agoImplement IPC in server side for synthesis parameter APIs 02/310502/3
sungwook79.park [Tue, 30 Apr 2024 05:01:24 +0000 (14:01 +0900)]
Implement IPC in server side for synthesis parameter APIs

Change-Id: Ie5994f9abc6166547b7765da4ab2f43a61ebb072
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
5 months agoImplement IPC in client side for Synthesis parameter APIs 00/310500/3
sungwook79.park [Tue, 30 Apr 2024 04:38:12 +0000 (13:38 +0900)]
Implement IPC in client side for Synthesis parameter APIs

Change-Id: I44aeb72fd8404dadd4b1bb1a4064058f3d36df45
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
5 months agoMove synthesis parameter apis from internal header to c header 90/310490/3
sungwook79.park [Tue, 30 Apr 2024 02:50:42 +0000 (11:50 +0900)]
Move synthesis parameter apis from internal header to c header

Change-Id: Id0d1cd46753eb8bd4d17bb8341abf764ab3cda99
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
5 months agoMerge "Modify c header with ACR comment" into tizen
sungwook park [Thu, 9 May 2024 05:40:29 +0000 (05:40 +0000)]
Merge "Modify c header with ACR comment" into tizen

5 months agoMerge "Change a checker to save pcm buffer" into tizen
Sooyeon Kim [Thu, 9 May 2024 01:33:50 +0000 (01:33 +0000)]
Merge "Change a checker to save pcm buffer" into tizen

5 months agoModify c header with ACR comment 29/310829/1
sungwook79.park [Thu, 9 May 2024 00:05:31 +0000 (09:05 +0900)]
Modify c header with ACR comment

Change-Id: I23f37b3f1e171b24f911127f72afc4ecae23b62e
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
6 months agoAdd max duration for silent 56/310656/1 ref/for/tizen
sungwook79.park [Fri, 3 May 2024 10:34:47 +0000 (19:34 +0900)]
Add max duration for silent

Change-Id: I387463092d91b339359f8abe998182d1406bd4a8
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
6 months agoModify silence duration type from long to unsigned integer 22/310622/1
sungwook79.park [Fri, 3 May 2024 01:04:22 +0000 (10:04 +0900)]
Modify silence duration type from long to unsigned integer

Change-Id: I6dc7b39b4a1c124fdd63029e275383996d427a84
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
6 months agoAdd silence generation API 15/305915/15
sungwook79.park [Tue, 13 Feb 2024 11:06:13 +0000 (20:06 +0900)]
Add silence generation API

Change-Id: Id73f0c2a9ad5c406287ee911e1e1d015a54ccabd
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
6 months agoChange a checker to save pcm buffer 28/310428/2
sooyeon [Mon, 29 Apr 2024 01:58:26 +0000 (10:58 +0900)]
Change a checker to save pcm buffer

Change-Id: Ib9a066b2a71d0b13cc90199fec94b7715286e281
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
6 months agoMerge "Modify variable names and parameter clearly" into tizen
sungwook park [Thu, 25 Apr 2024 23:19:07 +0000 (23:19 +0000)]
Merge "Modify variable names and parameter clearly" into tizen

6 months agoMerge "Add new structure for saving synthesis parameter" into tizen
sungwook park [Thu, 25 Apr 2024 10:26:13 +0000 (10:26 +0000)]
Merge "Add new structure for saving synthesis parameter" into tizen

6 months agoModify variable names and parameter clearly 94/310294/2
sungwook79.park [Thu, 25 Apr 2024 05:08:25 +0000 (14:08 +0900)]
Modify variable names and parameter clearly

Change-Id: I20271728783136388616c78dfa2412ed9ea27d38
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
6 months agoAdd new structure for saving synthesis parameter 56/306956/5
Suyeon Hwang [Wed, 28 Feb 2024 08:48:53 +0000 (17:48 +0900)]
Add new structure for saving synthesis parameter

- Requirements:
The app needs to play each utterance with different configuration such
as pitch, speed, volume, or background volume.

- Contents:
This patch adds new structure type for saving synthesis parameter. This
new type will be used for a member of speak_data_s. Through this change,
each speak_data_s can store each synthesis parameter and can make
difference playback utterance using that synthesis parameter.

Change-Id: I58ea401a14d807a1087275dee0dbac7d029a2c91
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
6 months agoAdd new function for a synthesis parameter 55/306955/4
Suyeon Hwang [Wed, 28 Feb 2024 07:11:48 +0000 (16:11 +0900)]
Add new function for a synthesis parameter

- Requirements:
The app needs to play each utterance with different configuration such
as pitch, speed, volume, or background volume.

- Contents:
This patch adds new function for a synthesis parameter. The synthesis
parameter is newly introduced by this patch. Using current API, the
client can only change the speed value using fixed parameter of
tts_add_text() function. The synthesis parameter is a kind of handle, so
client can set various configuration value using provided setter
functions. The client can manages the synthesis parameter with related
functions and these functions will be expandable.
Thus, through this change, TTS framework will provides changable
configuration for each utterance.

Change-Id: I7c15d72e253e047b45ec03424e4a729d95007843
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
7 months agochange background_volume_ratio type in migration script 87/308987/1
dyamy-lee [Wed, 3 Apr 2024 08:49:17 +0000 (17:49 +0900)]
change background_volume_ratio type in migration script

In tizen_8.0, it uses interger value about background_volume_ratio.
So, when it upgrade from 7.0 to 8.0, it's data type also changes together.

Change-Id: I3f3d5c10cc1fb940a8da529898a0ffd0bcb087e5

7 months agoMerge "Update version (1.90.5)" into tizen
DaYe Lee [Wed, 3 Apr 2024 08:30:31 +0000 (08:30 +0000)]
Merge "Update version (1.90.5)" into tizen

7 months agoremove vconf set 79/308979/1
dyamy-lee [Wed, 3 Apr 2024 08:16:36 +0000 (17:16 +0900)]
remove vconf set

Because just using 780154BackupVonfKey save previous value. So, set is not needed

Change-Id: Id0f63d95c645d271a63d4ec24d026dfbd5b09ae1

7 months agochange the src,dst file path for only tts 65/308965/2
dyamy-lee [Wed, 3 Apr 2024 05:45:51 +0000 (14:45 +0900)]
change the src,dst file path for only tts

/usr/data/.voice directroy can be used with other voice framework.
So, only mv tts directory. And, following that change, rename it.

Change-Id: I28233bd5811e3403a92ee4421d217381f382267c

7 months agochange the chmod for tts-config.xml 64/308964/1
dyamy-lee [Tue, 2 Apr 2024 09:37:36 +0000 (18:37 +0900)]
change the chmod for tts-config.xml

when data migration, previous version in home directory has their authority as 600.
but when root directory after 8.0, it needs 664(rw-rw-r).
If it doesn't apply, it is working fail.

Change-Id: Ib0a6956b9b41f04b8ad6eb6d1b8eb6d1450380fe

7 months agoUpdate version (1.90.5) 64/308864/1
dyamy-lee [Tue, 2 Apr 2024 05:22:31 +0000 (14:22 +0900)]
Update version (1.90.5)

Change-Id: Ieec47426f5c9e83f018521a8e50ef8ca479daec1

7 months agoAdd DataMigration Script for OSU 25/308625/5
dyamy-lee [Thu, 28 Mar 2024 07:41:34 +0000 (16:41 +0900)]
Add DataMigration Script for OSU

When it does OS Upgrade, previous RW data will be initialized.
So, this patch provide keeping the previous configuration with migration script.

Change-Id: Id484c0537ed406fed37ff7e6f5a6db202b9bedae

7 months agoSet sound stream info regardless of TTS mode and Update version (1.90.4) 28/308028/1
sooyeon [Fri, 15 Mar 2024 09:10:10 +0000 (18:10 +0900)]
Set sound stream info regardless of TTS mode and Update version (1.90.4)

- Issue:
In Tizen 7.0 FHub, there is a case that TTS sound volume becomes low.
When the sound focus is not acquired, the sound stream info is not set, either.

- Solution:
Regardless of TTS mode, we made the sound stream info set.

Change-Id: Idce4f621279d05245ce2b0ddc1498915d30b0bcc
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
7 months agoFix gcov QB build error and Update version (1.90.3) 92/307692/1 accepted/tizen/unified/20240313.134607 accepted/tizen/unified/20240313.135633 accepted/tizen/unified/x/20240314.073257
sooyeon [Tue, 12 Mar 2024 08:29:30 +0000 (17:29 +0900)]
Fix gcov QB build error and Update version (1.90.3)

Change-Id: Ifaf2952de2e67f997a0e9c056d477203c1154d94
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
7 months agoMerge "Make not to acquire sound focus when screen reader and notification modes...
Sooyeon Kim [Tue, 12 Mar 2024 06:27:55 +0000 (06:27 +0000)]
Merge "Make not to acquire sound focus when screen reader and notification modes" into tizen

7 months agoUpdate version (1.90.2) 40/307440/1
sooyeon [Fri, 8 Mar 2024 08:22:04 +0000 (17:22 +0900)]
Update version (1.90.2)

Change-Id: I45b430f937032e15ea8754a0dc238dd9f0ef2985
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
7 months agoMake not to acquire sound focus when screen reader and notification modes 38/307438/1
sooyeon [Fri, 8 Mar 2024 08:09:53 +0000 (17:09 +0900)]
Make not to acquire sound focus when screen reader and notification modes

- Issue:
In Tizen 7.0 FHub, media-type playing is stopped, because TTS screen-reader mode acquires a sound focus.

- Solution:
Rollback to the previous TTS sound focus policy.
* Default / Interrupt modes: acquire sound focus
* Screen-reader / Notification modes: NOT acquire sound focus

Change-Id: I73a63743f20e341988db42190435ca9ade271eba
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
(cherry picked from commit ff6316a4b2a1d4ece22c949486d038e8561b0e26)

7 months agoMerge "Fix svace issue (add null checker)" into tizen
Sooyeon Kim [Thu, 7 Mar 2024 03:15:57 +0000 (03:15 +0000)]
Merge "Fix svace issue (add null checker)" into tizen

8 months agoMerge "Update version (1.90.1)" into tizen accepted/tizen/unified/20240219.160454 accepted/tizen/unified/toolchain/20240311.065811 accepted/tizen/unified/x/20240220.150006
Suyeon Hwang [Mon, 19 Feb 2024 06:25:58 +0000 (06:25 +0000)]
Merge "Update version (1.90.1)" into tizen

8 months agoFix volume conversion parameter to 100 for better readability 41/306241/3
Suyeon Hwang [Mon, 19 Feb 2024 06:15:39 +0000 (15:15 +0900)]
Fix volume conversion parameter to 100 for better readability

Change-Id: I97802a658d60344b30efcefaa469d03328e731da
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
8 months agoUpdate version (1.90.1) 35/305935/4
Suyeon Hwang [Wed, 14 Feb 2024 02:29:37 +0000 (11:29 +0900)]
Update version (1.90.1)

Change-Id: I40d95c3fbf097d12a5113defc4636e1d28d4f5a5
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
8 months agoSave volume ratio as integer value to the config file 80/306180/3
Suyeon Hwang [Fri, 16 Feb 2024 11:35:46 +0000 (20:35 +0900)]
Save volume ratio as integer value to the config file

- Issue:
According to the app locale, sometimes the framework can fail to get
proper background volume ratio value from the configuration file.

- Solution:
This patch fixes the logic for saving background volume ratio value.
According to the spec. of snprintf() and atof(), these functions are
affected by the app locale. Thus, the app can represent the floating
point value with different way by the locale. And this can cause the
failure of getting proper value.
To avoid this situation, this patch converts the volume ratio as integer
value. Through this change, the locale will not affect the
representation for the volume ratio.

Change-Id: Ieb5c80098b91d56801b98183e8c524db6cf1b0bc
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
8 months agoFix ducking deactivation retrial logic 44/306044/3
Suyeon Hwang [Thu, 15 Feb 2024 12:47:58 +0000 (21:47 +0900)]
Fix ducking deactivation retrial logic

- Issue:
If the ducking deactivation is failed, the retrial for the failure can
be performed after a long period of time.

- Solution:
This patch fixes the logic for the retrial. Through this patch, the code
reset the interval of the timer to zero. The deactivation failure should
be caused by a minor timing issue, so it will only take a short period
of time. So, this patch can make faster the retrial latency.
And also this patch includes some minor coding covention fix.

Change-Id: I540fb25b7bc2c8b3099046d8bca98b267afa95e4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
8 months agoFix svace issue (add null checker) 81/306081/1
sooyeon [Fri, 16 Feb 2024 05:04:34 +0000 (14:04 +0900)]
Fix svace issue (add null checker)

Change-Id: Ie3608f29bc7a397eba91a392160a68fd9c08f40b
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
8 months agoFix coverity issue (adding lock) 63/306063/1
sooyeon [Fri, 16 Feb 2024 02:50:09 +0000 (11:50 +0900)]
Fix coverity issue (adding lock)

Change-Id: Ica3706e62a5cbcfa29d5a31d497fb46f1915b21d
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
8 months agoMerge changes I41b91634,I2fa72eaf,I8fa79f7c into tizen
Suyeon Hwang [Wed, 14 Feb 2024 02:28:11 +0000 (02:28 +0000)]
Merge changes I41b91634,I2fa72eaf,I8fa79f7c into tizen

* changes:
  Remove screen reader check from tts_stop()
  Retry ducking deactivation when it is failed
  Remove unnecessary variables for controlling thread

8 months agoAdded mutex lock for avoiding the data race condition 49/305649/2 accepted/tizen/unified/20240207.171607 accepted/tizen/unified/x/20240208.022950
dyamy-lee [Tue, 6 Feb 2024 03:17:08 +0000 (12:17 +0900)]
Added mutex lock for avoiding the data race condition

When it updates g_config_info, it needs mutex lock for preventing the data race condition.
When it accesses g_app_list, it needs mutex lock for preventing the data race condition.

Change-Id: I7b094b377a81e1e4fa35bf6cf6332a6baef8f83e