Ji-hoon Lee [Thu, 24 Oct 2019 12:33:18 +0000 (21:33 +0900)]
Remove multi-assistant header inclusion
Change-Id: I13635bc2bbd080e6dc2706a057f807a2f29f51d7
Ji-hoon Lee [Thu, 24 Oct 2019 07:36:25 +0000 (16:36 +0900)]
Bump version to 0.2.3
Change-Id: I6019ce410e76fb78c2a525d4929379a1342e48d9
Ji-hoon Lee [Thu, 24 Oct 2019 07:31:22 +0000 (16:31 +0900)]
Add exception handlers for the functions in external modules
Change-Id: Iae5619b299fc0a6ff737b042f90d23d13a3864c0
Ji-hoon Lee [Tue, 22 Oct 2019 09:14:26 +0000 (18:14 +0900)]
Bump version to 0.2.2
Change-Id: I21cb1ebde99f3234b0f3c96a1cef201e9bee5b4f
Ji-hoon Lee [Tue, 22 Oct 2019 09:09:05 +0000 (18:09 +0900)]
Ignore enabled assistants setting in single mode
Change-Id: If8832442ec3c9cfd56f8823a5c0636f284190132
Ji-hoon Lee [Mon, 21 Oct 2019 11:55:41 +0000 (20:55 +0900)]
Deactivate wakeup engines with no activated assistant
If there is a wakeup engine that no activate assistant
specified as its wakeup event source, deactivate it
since it would consume resources unnecessarily.
Change-Id: I5b88fbe0b7644bdb5601216f46ccedc6566a7938
Ji-hoon Lee [Fri, 18 Oct 2019 04:43:18 +0000 (13:43 +0900)]
Bump version to 0.2.1
Change-Id: If694bf9dbc732a183e70e7e64df7094356748643
Ji-hoon Lee [Wed, 16 Oct 2019 07:38:12 +0000 (16:38 +0900)]
Add sample code for terminating host process
Change-Id: I4106710af29912e58bd0c4d0123cc1348f8ecc69
Ji-hoon Lee [Tue, 15 Oct 2019 12:08:42 +0000 (21:08 +0900)]
Add prelaunch functionality for preprocessing assistant
Change-Id: Idf167b0293ea1783c22b9ab151fbce1d52769a63
Ji-hoon Lee [Wed, 2 Oct 2019 11:46:25 +0000 (20:46 +0900)]
Add support for delivering preprocessing info and result
Change-Id: Iab6dc1d92a23379d5697092fb295edba4f21376a
Ji-hoon Lee [Tue, 15 Oct 2019 07:55:08 +0000 (16:55 +0900)]
Add missing implementation for resolving appid from pid
Change-Id: Idfb73b15e7a116f93be61e5f8c6f0e1afa5f6095
Ji-hoon Lee [Tue, 15 Oct 2019 07:52:22 +0000 (16:52 +0900)]
Remove unused function
Change-Id: I82e60ea5837b4a9fecd1006d904d4de8dfd0a6e0
Ji-hoon Lee [Fri, 18 Oct 2019 04:25:49 +0000 (13:25 +0900)]
Fix defects detected by static analysis tool
Change-Id: I93f7686679318de3f42ec3d416b9f76db11602d5
Ji-hoon Lee [Wed, 2 Oct 2019 07:54:55 +0000 (16:54 +0900)]
Bump version to 0.2.0
Change-Id: Ia567ca3a49734d5e6a54eac64df0df316dfbe360
Ji-hoon Lee [Wed, 25 Sep 2019 09:56:38 +0000 (18:56 +0900)]
Implement wake word audio data embedding feature
Change-Id: I224daddee40b6d1a80db2ffd0bdb926a9df3919b
Ji-hoon Lee [Mon, 30 Sep 2019 08:15:36 +0000 (17:15 +0900)]
Bump version to 0.1.2
Change-Id: I831ee98716d0eb27aa115696def6115bde9cf45b
Ji-hoon Lee [Mon, 30 Sep 2019 08:28:25 +0000 (17:28 +0900)]
Fix crash caused by uninitialized pointer variable
Change-Id: I63c6fe9a457085544c013555e169b3cd1882df5e
Ji-hoon Lee [Mon, 30 Sep 2019 06:23:10 +0000 (15:23 +0900)]
Merge remote-tracking branch 'old-origin/tizen' into tizen
Change-Id: Ie490a624110895af836b0520c42e6025dba2389e
Sungwook Park [Tue, 24 Sep 2019 04:50:58 +0000 (13:50 +0900)]
Fix issue that detected by static analysis tool
Change-Id: Ic31b861d42d2d48e333494e13e90f980f9e26d1e
Signed-off-by: Sungwook Park <sungwook79.park@samsung.com>
Ji-hoon Lee [Fri, 20 Sep 2019 11:50:29 +0000 (20:50 +0900)]
Fix defects detected by static analysis tool
Change-Id: Ia6e40f9bef97c20b127393587d4ed3c268e18d6e
Ji-hoon Lee [Fri, 20 Sep 2019 11:08:51 +0000 (20:08 +0900)]
Bump version to 0.1.1
Change-Id: I6909378a304fd5ab7cc5d5b854a5f1cf538e0a97
Ji-hoon Lee [Fri, 20 Sep 2019 10:44:27 +0000 (19:44 +0900)]
Make sure FINISH event is delivered when streaming
Change-Id: Ib779d5bd6a151fdcf9981c9722b805fe191a4e30
Ji-hoon Lee [Fri, 20 Sep 2019 04:56:44 +0000 (13:56 +0900)]
Fix defects detected by static analysis tool
Change-Id: I1c36170c38f070450b2470fd23f95df53c4136d0
Ji-hoon Lee [Wed, 18 Sep 2019 05:42:01 +0000 (05:42 +0000)]
Merge "Change whitespaces with tabs" into tizen
Ji-hoon Lee [Wed, 18 Sep 2019 05:41:51 +0000 (05:41 +0000)]
Merge "Bump version to 0.1.0" into tizen
Ji-hoon Lee [Tue, 17 Sep 2019 08:21:57 +0000 (17:21 +0900)]
Bump version to 0.1.0
Change-Id: I0de4e95dae549444def8019778b61a5901f91d62
Ji-hoon Lee [Tue, 17 Sep 2019 07:12:26 +0000 (16:12 +0900)]
Add missing handler for preprocessing result message
Change-Id: Ia462aab4a2665147ff307d3d7471bc7705de26ca
Ji-hoon Lee [Tue, 17 Sep 2019 06:16:10 +0000 (15:16 +0900)]
Change whitespaces with tabs
Change-Id: Ife97fb4002b400b382122976b69c4474fcc41037
Ji-hoon Lee [Mon, 16 Sep 2019 06:21:51 +0000 (15:21 +0900)]
Apply logic for supporting preprocessing feature
Change-Id: Ie6941d6dcd881fa92430358319ecd42f5583521e
Ji-hoon Lee [Wed, 11 Sep 2019 09:51:30 +0000 (18:51 +0900)]
Send preprocessing information when activating assistants
Change-Id: If9a4080f58fafad4732d2d5a2dfbfc56221eba84
Ji-hoon Lee [Wed, 11 Sep 2019 06:54:34 +0000 (15:54 +0900)]
Bump version to 0.0.3
Change-Id: I81d89d555fd83d9d3589da978adc20e29c6eaa78
Ji-hoon Lee [Wed, 11 Sep 2019 05:59:34 +0000 (14:59 +0900)]
Disable BUF_SAVE_MODE for performance enhancement
Change-Id: I313db925ccc708af5c3f08bd212596c555fee571
Ji-hoon Lee [Tue, 10 Sep 2019 11:38:59 +0000 (20:38 +0900)]
Rename change_system_volume to set_background_volume
Change-Id: I783e088153afbe99da30f56207368d3e852b2d3c
Ji-hoon Lee [Tue, 10 Sep 2019 10:17:15 +0000 (19:17 +0900)]
Skip checking g_voice_key_pressed on voice key events
Change-Id: I6bcaf4d25081a11d9032e593f3326e6dab9787ce
Ji-hoon Lee [Tue, 10 Sep 2019 02:53:13 +0000 (11:53 +0900)]
Check thread stop variable while waiting for audio data
Change-Id: I149436035de048426cd0e11b1e422cb663572508
Ji-hoon Lee [Mon, 9 Sep 2019 05:53:03 +0000 (14:53 +0900)]
Bump version to 0.0.2
Change-Id: Ia699d890454e45034a1e9c140eb9eddd259d0114
Ji-hoon Lee [Mon, 9 Sep 2019 05:36:50 +0000 (14:36 +0900)]
Stop recording when sound focus is acquired by other process
Change-Id: I2f0f62a09ad3aab531bd3e34a72d097882b37425
Ji-hoon Lee [Mon, 9 Sep 2019 05:13:24 +0000 (14:13 +0900)]
Fix inappropriate key release event feeding
Change-Id: Id23e37ca334eeb3156984b7b299347effe67b677
Ji-hoon Lee [Fri, 6 Sep 2019 00:22:26 +0000 (09:22 +0900)]
Remove unnecessary ecore-wl2 dependency
Change-Id: Icff07a4bf1a8f05f370b979387c2d1bcb8bd7770
Ji-hoon Lee [Mon, 2 Sep 2019 10:55:06 +0000 (10:55 +0000)]
Merge "Remove waiting loop in previous utterance streaming" into tizen
Ji-hoon Lee [Mon, 2 Sep 2019 09:48:34 +0000 (18:48 +0900)]
Remove waiting loop in previous utterance streaming
Change-Id: I982caca0af983a3ee3326c325ae7f955fcdff387
Ji-hoon Lee [Thu, 29 Aug 2019 10:06:17 +0000 (19:06 +0900)]
Add NULL checking when releasing resources
Change-Id: I3b1b86e33c97a64be602aefdea8a5ca0d9c774b4
Ji-hoon Lee [Tue, 27 Aug 2019 08:47:40 +0000 (17:47 +0900)]
Skip audio feeding when streaming follow-up audio data
Change-Id: Ifa60df73cda0263e50840049799432e570b5ae40
Ji-hoon Lee [Tue, 27 Aug 2019 05:33:47 +0000 (14:33 +0900)]
Add privileges for recording audio from bluetooth devices
Change-Id: I56b30a6d1b46c93e526a182b63d21caa543f242c
Ji-hoon Lee [Mon, 26 Aug 2019 10:53:25 +0000 (19:53 +0900)]
Run voice assistants in background when PRELAUNCH'ing
Change-Id: I7100f8135214334c5479f92ec169bd21edd2ea81
Ji-hoon Lee [Wed, 24 Jul 2019 07:13:33 +0000 (16:13 +0900)]
Prelaunch default assistant when prelaunch_mode is set
Change-Id: I00fe4121f9e4f4c18e4c5cc4dc33f859801f8b79
Ji-hoon Lee [Wed, 24 Jul 2019 06:26:03 +0000 (15:26 +0900)]
Save launching appid only when ACTIVATION flag is set
Change-Id: I869ebe8edcfc4be0721275d3a398d0e7470bc21f
Ji-hoon Lee [Fri, 23 Aug 2019 07:33:01 +0000 (16:33 +0900)]
Add version information interface for wakeup engines
Change-Id: I4b53dff321db4190aea8921b1a8fd8033f5e255b
Ji-hoon Lee [Thu, 22 Aug 2019 10:56:56 +0000 (19:56 +0900)]
Remove hash-signer
Change-Id: I7821a67e5b688b679276e3ba60cc293e8ed14717
Ji-hoon Lee [Wed, 21 Aug 2019 08:52:03 +0000 (17:52 +0900)]
Rename 'update_result_state' to 'update_recognition_result'
In order to provide recognition result event to wakeup engines,
renamed existing 'update_result_state' function to
'update_recognition_result' and added implementation for
update_recognition_result handler in engine manager side.
Change-Id: Ie198690e21239577eb3659dd07b010c309d20c66
Ji-hoon Lee [Wed, 21 Aug 2019 04:55:13 +0000 (04:55 +0000)]
Merge "Use ecore_main_loop_thread_safe_call_async() instead of timer" into tizen
Ji-hoon Lee [Wed, 21 Aug 2019 04:55:08 +0000 (04:55 +0000)]
Merge "Enable ffv recording" into tizen
Ji-hoon Lee [Wed, 14 Aug 2019 11:49:50 +0000 (20:49 +0900)]
Enable ffv recording
Change-Id: I93a7de4b762768b0b27b093e3224a7e48c29e3df
Ji-hoon Lee [Tue, 20 Aug 2019 11:19:06 +0000 (20:19 +0900)]
Provide session information before start recording
Change-Id: Ifd314ffdf7aa608074f2ca36b749da21f089030b
Ji-hoon Lee [Tue, 20 Aug 2019 11:59:56 +0000 (20:59 +0900)]
Use ecore_main_loop_thread_safe_call_async() instead of timer
Change-Id: I47e74554baf3dd216ce45ab686adb41cf47d9785
Xie Ligang [Fri, 5 Jul 2019 06:01:32 +0000 (14:01 +0800)]
Implement previous_utterance and follow_up steaming
Change-Id: Icd234173ca5f45aacaf14ed7255afb207851f4f2
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
Ji-hoon Lee [Tue, 13 Aug 2019 01:41:38 +0000 (01:41 +0000)]
Merge "Add dependency module for tv" into tizen
Ji-hoon Lee [Fri, 9 Aug 2019 08:56:37 +0000 (17:56 +0900)]
Add dependency module for tv
Change-Id: Id6f629870bfc08015cbf63faa7a37bf794942531
Ji-hoon Lee [Mon, 12 Aug 2019 11:55:43 +0000 (11:55 +0000)]
Merge "Add more logs for checking wakeup process" into tizen
Ji-hoon Lee [Mon, 12 Aug 2019 11:55:39 +0000 (11:55 +0000)]
Merge "Remove unnecessary static local variable usage" into tizen
Ji-hoon Lee [Mon, 12 Aug 2019 11:55:34 +0000 (11:55 +0000)]
Merge "Skip feeding audio data to engine when voice key pressed" into tizen
Ji-hoon Lee [Mon, 12 Aug 2019 11:55:27 +0000 (11:55 +0000)]
Merge "Clear audio data when voice key gets pressed" into tizen
Ji-hoon Lee [Mon, 12 Aug 2019 05:59:31 +0000 (14:59 +0900)]
Add more logs for checking wakeup process
Change-Id: Idd593c34efc1ee9f1c3dd5eb759c12e2f2f6a801
Ji-hoon Lee [Mon, 12 Aug 2019 05:56:28 +0000 (14:56 +0900)]
Remove unnecessary static local variable usage
Change-Id: I4d51ad1d9daee9141dcaf2f5aba4d988c25b4bea
Ji-hoon Lee [Fri, 9 Aug 2019 07:46:32 +0000 (16:46 +0900)]
Skip feeding audio data to engine when voice key pressed
Change-Id: I722f7a3223095b10359d11416f8f2687864275bb
Ji-hoon Lee [Fri, 9 Aug 2019 06:43:33 +0000 (15:43 +0900)]
Clear audio data when voice key gets pressed
Change-Id: I105c93d9c75438b540a3c0e6f8614c034b660749
Ji-hoon Lee [Fri, 9 Aug 2019 06:11:21 +0000 (15:11 +0900)]
Fix thread deadlock issue
Change-Id: I810183593fc05fe93300dec9f686d6088a8006a6
Ji-hoon Lee [Tue, 6 Aug 2019 05:12:58 +0000 (14:12 +0900)]
Fix defects detected by static analysis tool
Change-Id: Ie766bdfe909bae6c8e6e8a43925a054e9f395d4a
jingjin.geng [Thu, 13 Jun 2019 19:42:49 +0000 (03:42 +0800)]
(de)activate wakeup engines by voice_input_language
Change-Id: I675d75db15e9b8b1f4540754dd2c51d77a7eba88
Ji-hoon Lee [Fri, 26 Jul 2019 02:26:28 +0000 (11:26 +0900)]
Add get_audio_source_type message handlers
Change-Id: I10a70b74181e771be259722162da2778bb4fe26e
Ji-hoon Lee [Fri, 26 Jul 2019 02:20:42 +0000 (11:20 +0900)]
Add get_audio_format handler in dependency_resolver
Change-Id: I63a979b17f8f4865d3932898ba23ad3419af8bb8
Ji-hoon Lee [Thu, 25 Jul 2019 07:46:41 +0000 (16:46 +0900)]
Update LOG_TAG for heap_tracer
Change-Id: I129800ce94a4d0160c8c540f0dd8b1f02e516176
Ji-hoon Lee [Wed, 24 Jul 2019 07:49:54 +0000 (16:49 +0900)]
Fix mismatch between log format and actual parameter
Change-Id: Ibd663ab6d387df6e198c7ee6a2e25c4c5d87405f
Ji-hoon Lee [Wed, 24 Jul 2019 07:16:42 +0000 (16:16 +0900)]
Adjust pcm_wait_count value
Change-Id: I531fba2647588a45a160fe20fa7331183f98ff77
Ji-hoon Lee [Fri, 21 Jun 2019 02:51:38 +0000 (11:51 +0900)]
Add dependency resolver
Change-Id: I8fabdbb8a824593b9a0a7e53cbf146ce14219da4
Ji-hoon Lee [Thu, 27 Jun 2019 05:42:59 +0000 (14:42 +0900)]
Send masc_ui_dbus messages only when ui_panel_enabled is true
Change-Id: I1e6a3fb59aaac6e9d16d5ce6fada612c14b229de
jingjin.geng [Tue, 11 Jun 2019 19:18:34 +0000 (03:18 +0800)]
realize the API add_assistant_language(string appid, string language)
Change-Id: Ia9c4e2b0dbe67164ab92dbc9c973e584ef39881c
jingjin.geng [Wed, 8 May 2019 22:52:14 +0000 (06:52 +0800)]
add CWakeupManager::set_assistant_enabled(string appid, bool enabled)
Change-Id: I73ba499a34e11bab278b192eb6f93bfa4aecb907
Ji-hoon Lee [Tue, 4 Jun 2019 00:04:25 +0000 (00:04 +0000)]
Merge "Add previous steam related function." into tizen
Xie Ligang [Wed, 22 May 2019 02:35:23 +0000 (10:35 +0800)]
Add previous steam related function.
Change-Id: I20a725f78b2eafabd35b3b0603915eaa76562ca5
Signed-off-by: Xie Ligang <ligang0.xie@samsung.com>
wn.jang [Fri, 17 May 2019 04:37:31 +0000 (13:37 +0900)]
Add stream routing for USB audio device
Change-Id: I6e986aa5721ab4cbe84ea09a6e116524547080d6
Ji-hoon Lee [Thu, 2 May 2019 11:44:52 +0000 (11:44 +0000)]
Merge "Add streaming event validation code" into tizen
Ji-hoon Lee [Tue, 30 Apr 2019 01:14:40 +0000 (10:14 +0900)]
Add wakeup manager activation/deactivation logic
Change-Id: I613f58a71a28641dc7e700c65b681d26d441279f
Ji-hoon Lee [Tue, 16 Apr 2019 10:49:46 +0000 (19:49 +0900)]
Add change system volume feature
Change-Id: I79ae89a3c5d46debdaf1f32b5856701c67c72762
Ji-hoon Lee [Thu, 2 May 2019 05:31:46 +0000 (14:31 +0900)]
Add streaming event validation code
Change-Id: I6eafbcb279c75d2e9bba657aaceccf91a4ef1985
Ji-hoon Lee [Tue, 16 Apr 2019 01:17:11 +0000 (10:17 +0900)]
Add support for device-specific audio recording
This kind of device-specific behavior should be
extracted into a separated module, need to enhance
in the future.
Change-Id: I042962cb03aea0dc69040bae3d5231665360ad96
Ji-hoon Lee [Fri, 12 Apr 2019 09:49:17 +0000 (18:49 +0900)]
Fix crash when more than two wakeup engine exists
For providing a closure to the callback function,
necessary data were stored in a vector and passed
pointer to the data inside the vector, but since
vectors re-arranges internal elements to a new
location when the size gets bigger than its capicity,
pointers to the internal elements get invalidated
which caused crash. For this reason, changed to use
deque instead of vector since deque is a stable
container that preserves internal elements' memory
location.
Change-Id: I2ba578e98d96171aea068b95ea27807b7a143c50
Ji-hoon Lee [Mon, 15 Apr 2019 00:43:22 +0000 (00:43 +0000)]
Merge "Protect member variables shared across multiple threads" into tizen
Ji-hoon Lee [Fri, 12 Apr 2019 13:22:40 +0000 (13:22 +0000)]
Merge "Read default assistant appid setting whenever requested" into tizen
Ji-hoon Lee [Mon, 8 Apr 2019 01:57:18 +0000 (10:57 +0900)]
Protect member variables shared across multiple threads
Change-Id: I1cbefaa78ab53a537851dbdd532fbf9646e64cd1
Ji-hoon Lee [Fri, 12 Apr 2019 13:20:35 +0000 (13:20 +0000)]
Merge "Fix indentation" into tizen
Tizen Infrastructure [Wed, 10 Apr 2019 22:38:27 +0000 (22:38 +0000)]
Initial empty repository
Ji-hoon Lee [Wed, 10 Apr 2019 08:32:06 +0000 (17:32 +0900)]
Read default assistant appid setting whenever requested
Change-Id: I0054286425c616617588e70d97800f3251619619
Ji-hoon Lee [Mon, 8 Apr 2019 01:09:02 +0000 (10:09 +0900)]
Fix indentation
Change-Id: I47df7bee0955c4390671183cd5174569dd6765a6
Ji-hoon Lee [Mon, 8 Apr 2019 01:06:21 +0000 (10:06 +0900)]
Add function that checks if an element exists in a container
Change-Id: Ia43bc567646915443f77d7a60c1a1edbbe1940a3
Ji-hoon Lee [Wed, 3 Apr 2019 05:25:11 +0000 (14:25 +0900)]
Reduce unnecessary 'recording..' related logs
Change-Id: I3bc536f8ac6d4838263d2b1ba8c4f5d438a28c47
Ji-hoon Lee [Wed, 3 Apr 2019 05:23:07 +0000 (14:23 +0900)]
Adjust retry timeout value considering no-panel use case
Change-Id: I7b02f2fbf2c88b8db3fba14b703695216941d750
Ji-hoon Lee [Tue, 2 Apr 2019 09:07:34 +0000 (18:07 +0900)]
Disable common UI when custom_ui'ed assistant gets woken up
Change-Id: I72a8381ff47f88f108fb6661f6e7cafa34d202be
Ji-hoon Lee [Tue, 2 Apr 2019 01:06:22 +0000 (10:06 +0900)]
Change strcmp with std::string::compare()
Change-Id: I8e74bf8ac80fd42337bde11cb6b3e71dce7845fe
Ji-hoon Lee [Mon, 1 Apr 2019 05:14:40 +0000 (14:14 +0900)]
Divide wakeup manager into a class and its wrapper
Change-Id: I094ab7c4061fcad48a23fb91e547ec4f3ec1cb81