Sangchul Lee [Mon, 3 Apr 2017 07:46:24 +0000 (16:46 +0900)]
Return policy error if the stream info is not manual route type in case of adding device for stream routing
[Version] 0.3.109
[Profile] Common
[Issue Type] Bug fix
Change-Id: I7ea21057f2f0b8c54524f6201979b3dfb85693f3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Mon, 3 Apr 2017 05:30:13 +0000 (14:30 +0900)]
Modify Doxygen comment related to deprecated APIs & feature reference link
[Version] 0.3.108
[Profile] Common
[Issue Type] Doxygen
Change-Id: I5901c10c62c6e14a39ec246597018b79bccc4eee
Jeongho Mok [Wed, 22 Mar 2017 07:23:21 +0000 (16:23 +0900)]
Use license macro in spec
[Version] 0.3.107
[Profile] Common
[Issue Type] License
Change-Id: I8efd5be49fb77a00c1f8e725104cd641fee4254c
(cherry picked from commit
e2e9b75d1848b5019474adf2e973912fa8c11977)
Sangchul Lee [Thu, 23 Mar 2017 08:17:43 +0000 (17:17 +0900)]
Fix invalid operation in _set_session_mode() and refactor internal functions related to manual routing
Also more logs are added for easy debugging.
[Version] 0.3.107
[Profile] Common
[Issue Type] Bug fix and refactoring
Change-Id: I77935aa524135081c1dfd56e4b86782c012572d7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 22 Mar 2017 06:40:29 +0000 (15:40 +0900)]
Initialize g_cached_voip_device_id properly in _set_manual_route_info() and add more logs
Also sound_manager_test is modified to use new tizen 3.0 API.
[Version] 0.3.106
[Profile] Common
[Issue Type] Bug fix
Change-Id: Ic8cdcb7151573ca5dd74e61a7ad4825018d5f576
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 22 Mar 2017 04:52:56 +0000 (13:52 +0900)]
Adjust timing to update focus status in _focus_state_change_callback()
In case of acquiring focus, request to update the focus status to change
audio routing path first then invoke user callback.
[Version] 0.3.105
[Profile] Common
[Issue Type] Enhancement
Change-Id: I4335bde53d740253697c9508867fb608891192e7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 15 Mar 2017 05:13:56 +0000 (14:13 +0900)]
Change user data of registering focus(watch) callback to simplify logic in the callback
[Version] 0.3.104
[Profile] Common
[Issue Type] Enhancement
Change-Id: I697cece8738f7e049d1279c0cc454eb43e07c789
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 6 Mar 2017 10:02:15 +0000 (19:02 +0900)]
Fix codes not to destroy internal focus handle among VoIP session modes
[Version] 0.3.103
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I444f6b0a3eba3ed9478471b673f6a2f36f026995
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongho Mok [Fri, 24 Feb 2017 03:47:23 +0000 (12:47 +0900)]
Convert bt-a2dp type correctly
[Version] 0.3.102
[Profile] Common
[Issue Type] Bug
Change-Id: I25e90a32b65dba2a41575e71a67f2a5324847d05
Seungbae Shin [Thu, 16 Feb 2017 02:58:04 +0000 (11:58 +0900)]
Fix SVACE defect
[Version] 0.3.101
[Profile] Common
[Issue Type] Security
Change-Id: Icaf8e46991dccea8c3765ba738a2b2f5ee81be0c
Sangchul Lee [Fri, 10 Feb 2017 08:18:56 +0000 (17:18 +0900)]
Support 3P/4P audiojack device in voip session mode
[Version] 0.3.100
[Profile] common
[Issue Type] Backward compatibilty
Change-Id: Ic6d7de203548a5a9a8b6d843bb26605fd171f56b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 10 Feb 2017 02:18:30 +0000 (11:18 +0900)]
Add ommited symbols in sound_manager_internal_tv.h
[Version] 0.3.99
[Profile] TV
[Issue Type] Build break
Change-Id: I3628f7da638fa692abc37b66c2874eb358017279
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Thu, 9 Feb 2017 10:48:44 +0000 (19:48 +0900)]
Stop mainloop before destroying sound_stream_info
[Version] 0.3.98
[Profile] Common
[Issue Type] Bug
Change-Id: I28b9055c596579ae1d5c1cda3d6eef75f81e6359
Sangchul Lee [Tue, 7 Feb 2017 08:52:11 +0000 (17:52 +0900)]
Add internal function - sound_manager_disable_session_backward_compatibility()
Add an internal API to disable session backward compatibility.
[Version] 0.3.97
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I186e7358d94dfd8e408f865fb35470fe495357bb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 6 Feb 2017 06:50:21 +0000 (15:50 +0900)]
Add internal function - sound_manager_get_internal_voip_stream_information()
[Version] 0.3.96
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I0272a0bcceb2b0c33d5c9408455a4902e40ba428
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 6 Feb 2017 01:03:46 +0000 (10:03 +0900)]
Add input audio device according to voip session mode
Missing input device for VoIP session modes is added.
[Version] 0.3.95
[Profile] Common
[Issue Type] Bug fix(backward compatibility)
Change-Id: I15c11aa17f4b394e8fbf564043c06158016ec130
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Tue, 31 Jan 2017 14:06:15 +0000 (23:06 +0900)]
Fix memory leak : valgrind detected
[Version] 0.3.94
[Profile] Common
[Issue Type] Memory Leak
Change-Id: I64d7d5e7cf44a65d5165de4b43afc2151352abfe
Seungbae Shin [Wed, 18 Jan 2017 08:09:53 +0000 (17:09 +0900)]
Do not install testsuite on TV product
[Version] 0.3.93
[Profile] Common
[Issue Type] Product
Change-Id: I18ffd3cff79dd71184519df303b3fdf6b542e2c0
Sangchul Lee [Tue, 17 Jan 2017 04:30:06 +0000 (13:30 +0900)]
Update focus status to pulseaudio when after focus state callback is called
[Version] 0.3.92
[Profile] Common
[Issue Type] Bug fix
Change-Id: Id3a3a05b91c8d0d05762861386ec607bbfdb68fb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 13 Jan 2017 09:18:24 +0000 (18:18 +0900)]
Divide case for registering focus node depending on session backward compatibility
[Version] 0.3.91
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I27b75b7aed32737ed96f2d21fcaa7f35295168c9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongho Mok [Tue, 10 Jan 2017 06:24:13 +0000 (15:24 +0900)]
Fix API reference warning
[Version] 0.3.90
[Profile] Common
[Issue Type] Documentation
Change-Id: Ide3692fd0f2db3a27ed5b4ece29799931abe4087
Seungbae Shin [Tue, 3 Jan 2017 11:53:08 +0000 (20:53 +0900)]
Fix to return NO_DATA properly in get_current_media_playback_device_type()
[Version] 0.3.89
[Profile] Common
[Issue Type] Bug
Change-Id: I4e838f57e9e5350259ad743bba417f984217345e
Jeongho Mok [Tue, 20 Dec 2016 08:49:37 +0000 (17:49 +0900)]
Use proper API get_current_device_list
[Version] 0.3.88
[Profile] Common
[Issue Type] API
Change-Id: I16e61ce96be19a33a83bfe03ca40e42010aeb7d3
Jeongho Mok [Mon, 12 Dec 2016 12:12:42 +0000 (21:12 +0900)]
stream is on device
[Version] 0.3.87
[Profile] Common
[Issue Type] API
Change-Id: I25b925e778e0d48fa3030282ea9b6fa0d59e9b06
Seungbae Shin [Sat, 10 Dec 2016 06:44:30 +0000 (15:44 +0900)]
Disable _get_current_media_routing_path() temporally.
Change-Id: I843896f8de169a4e6a643de62624696ff5d25faf
Sangchul Lee [Wed, 7 Dec 2016 04:01:43 +0000 (13:01 +0900)]
Add sound_manager_is_stream_on_device() and sound_manager_get_current_media_playback_device_type()
[Version] 0.3.86
[Profile] Common
[Issue Type] API
Change-Id: Ie1ca743644162b02ae285ac370694c7c1a00d517
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongho Mok [Wed, 7 Dec 2016 07:19:40 +0000 (16:19 +0900)]
Fix testsuite bug
[Version] 0.3.85
[Profile] Common
[Issue Type] testsuite
Change-Id: I39cf31cb563f07281c64ef7979b685213efa6d4e
Jeongho Mok [Wed, 30 Nov 2016 10:41:54 +0000 (19:41 +0900)]
Change set/unset callback to add/remove callback, and add device state changed callback
[Version] 0.3.84
[Profile] Common
[Issue Type] API
Change-Id: Ie34a02ae4012fcf6264fbf6050907bc736cb1e01
Jeongho Mok [Thu, 1 Dec 2016 08:31:35 +0000 (17:31 +0900)]
remove avail mode
[Version] 0.3.83
[Profile] Common
[Issue Type] Remove API
Change-Id: I17c3f4432df37d40f038e0c0f9a10b8afa190615
Jeongho Mok [Mon, 28 Nov 2016 14:23:20 +0000 (23:23 +0900)]
divide bluetooth to a2dp and sco
[Version] 0.3.82
[Profile] Common
[Issue Type] Add/Deprecate API
Change-Id: Id056e09712540f5a4d8fc7ac0f7b1a7a88abce0f
Seungbae Shin [Mon, 21 Nov 2016 04:18:22 +0000 (13:18 +0900)]
Modification of stream focus APIs
- Add parameters in sound_stream_focus_state_changed_cb() prototype
- Add parameter in sound_manager_acquire/release_focus()
- remove following APIs
sound_manager_focus_set_requesting_behavior()
sound_manager_focus_get_requesting_behavior()
sound_manager_focus_get_requested_behavior()
[Version] 0.3.81
[Profile] Common
[Issue Type] Revise API (MPR-865)
Change-Id: I4b0d7c75fd098375bc5d45d6746468bf7674f77a
Sangchul Lee [Thu, 1 Dec 2016 00:46:25 +0000 (09:46 +0900)]
Fix svace defects
[Version] 0.3.80
[Profile] Common
[Issue Type] SVACE
Change-Id: I8dc39d46b8e83346a348c085ebee0ea8732c94dc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongho Mok [Wed, 23 Nov 2016 07:22:18 +0000 (16:22 +0900)]
Add new API sound_manager_get_device_list,and deprecate sound_manager_get_current_device_list
[Version] 0.3.79
[Profile] Common
[Issue Type] Add/Deprecate API
Change-Id: I14f6fa7e1940ad167eb9ad7f1cb6eb1f544fae6a
Sangchul Lee [Thu, 24 Nov 2016 04:06:01 +0000 (20:06 -0800)]
Revert "Add sound_manager_reserve_release_all_focus() function in sound_manager_internal.h"
This reverts commit
2644682dc22061cadaa0a238a9c42155a6e550e8.
Change-Id: Ia065e1c048d884903e4044e33266f076a6104328
Sangchul Lee [Tue, 22 Nov 2016 02:27:14 +0000 (11:27 +0900)]
Add sound_manager_reserve_release_all_focus() function in sound_manager_internal.h
[Version] 0.3.77
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: I65037215608bd6c4d982ab4611f38ada9c6856b5
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 14 Nov 2016 03:26:01 +0000 (12:26 +0900)]
Do not send a signal for backward compatibility in case of internal stream info. creation
[Version] 0.3.76
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: Id77bde659172d4b62632367baac8767d75f68468
Jeongho Mok [Tue, 8 Nov 2016 05:50:40 +0000 (14:50 +0900)]
testsuite : print device list when get current device list
[Version] 0.3.75
[Profile] Common
[Issue Type] Testsuite
Change-Id: I0af0941d3e3e09d1d59376797c0f36f78e97535f
(cherry picked from commit
2c746e439cf652ff0602cfd74b5c1735bde2fc8f)
Sangchul Lee [Mon, 31 Oct 2016 08:47:06 +0000 (17:47 +0900)]
Add sound_manager_get_changed_focus_state() to get changed focus related information in focus state changed callback
[Version] 0.3.74
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: I0c37964f73f2e6c4bc1279e2c922aa18a5f2bfc3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 12 Oct 2016 08:38:19 +0000 (17:38 +0900)]
Add SOUND_STREAM_FOCUS_FOR_BOTH enumerator
[Version] 0.3.73
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: Id83cbc0dd281067ea3742768868934e293cd4894
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 7 Oct 2016 02:42:36 +0000 (11:42 +0900)]
Disable focus feature of the radio stream
Since radio stream type is used in radio framework and they make a focus handle for
ASM backward compatibility by using mm-sound API directly, it is not needed anymore.
[Version] 0.3.72
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: I657ebbcffa104d29daa8271f120dfb8ae672382f
Sangchul Lee [Thu, 29 Sep 2016 06:32:48 +0000 (15:32 +0900)]
Update sound_manager_internal_tv.h for product tv
[Version] 0.3.71
[Profile] Common
[Issue Type] Fix bug
Change-Id: I7b49a228ce68c83e96dceff4e940c028a2823fbc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 27 Sep 2016 04:42:03 +0000 (13:42 +0900)]
Add loopback-mirroring stream type for internal use
[Version] 0.3.70
[Profile] Common
[Issue Type] New feature
Change-Id: I6bc2685160f88dac30d12d06ac50e1dd3b141872
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Mok Jeongho [Thu, 1 Sep 2016 10:34:24 +0000 (19:34 +0900)]
Add new API to get avail-mode(media/voice) of Bluetooth devices
[Version] 0.3.69
[Profile] Common
[Issue Type] API
Change-Id: Ib5710cf070e04deb04ab69234928adf40f7c7b85
Sangchul Lee [Thu, 22 Sep 2016 07:16:33 +0000 (16:16 +0900)]
Revise description of sound_manager_focus_set[get]_requesting_behavior()
[Version] 0.3.68
[Profile] Common
[Issue Type] Description
Change-Id: I2d204652d36a3d73b7dc5948b7d0ff00704faac0
Sangchul Lee [Thu, 22 Sep 2016 01:50:14 +0000 (10:50 +0900)]
Apply DEPRECATION macro and declare deprecation of sound_manager_unset_current_sound_type() since tizen 3.0.
[Version] 0.3.67
[Profile] Common
[Issue Type] Deprecation
Change-Id: I920e1002adb8e1bcf2355a8a2997363280c0f9dc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 20 Sep 2016 01:46:55 +0000 (10:46 +0900)]
Declare deprecation of sound_manager_set_current_sound_type() since tizen 3.0.
This function is usually used between volume-application and media-application which is right below
of the volume-application from window system point of view. Obviously, it is related to window system.
So, we decide to deprecate this incomplete functionality in sound-manager since tizen 3.0 and expect
to be provided it from other APIs.
[Version] 0.3.66
[Profile] Common
[Issue Type] Deprecation
Change-Id: If72162b0f27b1dfac17e2f5fe18efb9d2447f823
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 28 Jul 2016 23:10:21 +0000 (08:10 +0900)]
Add new APIs to communicate with one another about the predefined sound behavior and to get acquired focus in system
- New enumeration for sound behavior (SOUND_BEHAVIOR_NONE, SOUND_BEHAVIOR_NO_RESUME, SOUND_BEHAVIOR_FADING)
- sound_manager_focus_set[get]_requesting_behavior() which is to set/get the requesting sound behavior before calling acquiring/releasing stream focus.
- sound_manager_focus_get_requested_behavior() which is to get the requested sound behavior within sound_stream_focus_state_changed_cb().
- Move internal APIs for getting focus status in the system to public header.
: sound_manager_get_current_playback_focus()
: sound_manager_get_current_recording_focus()
[Version] Release 0.3.65
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: I90421f80325a8d79d14495ee981283693dba009a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Tue, 13 Sep 2016 10:29:57 +0000 (19:29 +0900)]
Check mic feature when setting session type to voip
This code is from tizen 2.4 which is added recently
[Version] 0.3.64
[Profile] Common
[Issue Type] TC
Change-Id: Id81f096240c05abac1d49f9e5b75e94f6b8992e4
Seungbae Shin [Mon, 5 Sep 2016 12:03:29 +0000 (21:03 +0900)]
Rename TIZEN_TV_PROD with TIZEN_FEATURE_TV_PROD
[Version] Release 0.3.63
[Profile] Common
[Issue Type] Rule
Change-Id: I3dc36af1c37c816a780fd61509ad2170de106051
Sangchul Lee [Fri, 26 Aug 2016 06:54:12 +0000 (15:54 +0900)]
Allow NULL for sound_stream_focus_state_changed_cb which is a parameter of sound_manager_create_stream_information()
If it is set to NULL, SOUND_MANAGER_ERROR_POLICY will be returned when calling sound_manager_acquire_focus().
[Version] Release 0.3.62
[Profile] Common
[Issue Type] Policy
Change-Id: I725d6227580327ac529fe572009747501446a91b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 23 Aug 2016 23:00:33 +0000 (08:00 +0900)]
Fix return value in case of invalid id parameter of sound_manager_remove_focus_state_watch_cb()
[Version] Release 0.3.61
[Profile] Common
[Issue Type] Bug fix
Change-Id: Ib5aacb39bfb031215a0342430a24435236e173c4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 19 Aug 2016 07:02:00 +0000 (16:02 +0900)]
Descriptions regarding version history are revised
[Version] Release 0.3.60
[Profile] Common
[Issue Type] History
Change-Id: I0c7406ef2276c8ce47ae8689e35e52518b3573ea
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 16 Aug 2016 06:07:34 +0000 (15:07 +0900)]
Move @remarks to above @param
[Version] Release 0.3.59
[Profile] Common
[Issue Type] Description
Change-Id: I435926ce68a2f2a12f6aaee6e54b120e9ddfdfcb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 9 Aug 2016 23:39:30 +0000 (08:39 +0900)]
Add sound_manager_add[remove]_focus_state_watch_cb()
- sound_manager_set[unset]_focus_state_watch_cb() has been revised as well as the callback prototype to pass the callback id.
- some API descriptions are revised.
[Version] Release 0.3.58
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: Ib351148853fd525304c09588a4ee82c84910c937
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 13 Jul 2016 11:02:24 +0000 (20:02 +0900)]
Fix to return MM_ERROR* instead of SOUND_MANAGER_ERROR* in sound_manager_private.c in case of error
[Version] Release 0.3.57
[Profile] Common
[Issue Type] Bug fix
Change-Id: I7eecce02032848249c098afa49a466476bece817
Sangchul Lee [Mon, 30 May 2016 06:45:56 +0000 (15:45 +0900)]
Revise remarks for sound_manager_set_focus_state_watch_cb()
[Version] Release 0.3.56
[Profile] Common
[Issue Type] Description
Change-Id: I257317d65bd2fbb3c5be7aa1d72a5c2191ae6f8a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jungsup Lee [Mon, 27 Jun 2016 06:28:54 +0000 (15:28 +0900)]
Remove master volume APIs in TV product
- Change "%if %{with TIZEN_PRODUCT_TV}" to "%if "%{?TIZEN_PRODUCT_TV}" == "1""
[Version] Release 0.3.55
[Profile] TV
[Issue Type] Remove feature
Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: Ieadacd77a39400a71e798f26b3fa2e41792be40c
Jungsup Lee [Tue, 21 Jun 2016 07:15:31 +0000 (16:15 +0900)]
Remove master volume APIs in TV product
[Version] Release 0.3.54
[Profile] TV
[Issue Type] Remove feature
Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: I23875b31983b1b14e18d30eb3193713ac81b444b
Sangchul Lee [Thu, 16 Jun 2016 00:29:50 +0000 (09:29 +0900)]
Revise CMakeLists and spec file for sound_manager_test
- use %{_bindir} instead of /usr/bin in spec file
- use INSTALL command in CMakeLists file
[Version] Release 0.3.53
[Profile] Common
[Issue Type]
Change-Id: I5ad18b050d6dd424e27ddd1b5caa3453a3241856
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 26 May 2016 04:29:40 +0000 (13:29 +0900)]
Add test case for radio stream in sound_manager_test
[Version] Release 0.3.52
[Profile] Common
[Issue Type] Enhance testsuite
Change-Id: I4e5e66306626ac20959566138c8c61159a671b84
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 3 May 2016 07:04:19 +0000 (16:04 +0900)]
Fix SVACE defects
[Version] Release 0.3.51
[Profile] Common
[Issue Type] Code Enhancement
Change-Id: I7c489ca3ccb580ed874013d628ad82c380cbb0ff
Sangchul Lee [Mon, 28 Mar 2016 06:34:35 +0000 (15:34 +0900)]
Revise description for route type
[Version] Release 0.3.50
[Profile] Common
[Issue Type] Description
Change-Id: I86550a56ea6f1104b76dec0b9733ea1cb6e6be28
Sangchul Lee [Fri, 25 Mar 2016 03:15:30 +0000 (12:15 +0900)]
Add condition not to check argument of focus callback in case of sound_manager_create_stream_information_internal() API
Some internal stream types do not support for focus. In these cases, the focus callback signifies nothing.
[Version] Release 0.3.49
[Profile] Common
[Issue Type] Code enhancement
Change-Id: I24b74cdbfd0f31cc25a50a347372f6e86dd8bdd1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 22 Mar 2016 08:57:12 +0000 (17:57 +0900)]
Modify arguments name of some APIs for reducing length
[Version] Release 0.3.48
[Profile] Common
[Issue Type] Code clean-up
Change-Id: Ic7e61ce1efd443ea2f67a44618bc3c09d0867c25
Sangchul Lee [Mon, 21 Mar 2016 08:35:17 +0000 (17:35 +0900)]
Return SOUND_MANAGER_ERROR_NOT_SUPPORTED enumerator when incoming stream type of sound_manager_create_stream_information API is not supported on this target
[Version] Release 0.3.47
[Profile] Common
[Issue Type] Bug fix
Change-Id: I438c5f4e4e3047621b67c202abefed0cb8cf4d2d
Seungbae Shin [Tue, 15 Mar 2016 08:34:32 +0000 (17:34 +0900)]
Replace hardcoded include dir path with @INCLUDE_INSTALL_DIR@ in pc.in
[Version] Release 0.3.46
[Profile] Common
[Issue Type] Build enhancement
Change-Id: I0187931ee2ebcb4a7a130d12c336fe5eed3be4d7
Sangchul Lee [Mon, 29 Feb 2016 01:35:52 +0000 (10:35 +0900)]
Improve visibility of source codes
[Version] Release 0.3.45
[Profile] Common
[Issue Type] Code clean-up
Change-Id: I6cf57eb1a2d0d41b70c47e47c2d6467a456f2648
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 24 Feb 2016 08:35:51 +0000 (17:35 +0900)]
Add enumerator for Recorder API
[Version] Release 0.3.44
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: I3d7a99ea1447dbfa1dcf51245173e80574bb57b8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 24 Feb 2016 06:20:40 +0000 (15:20 +0900)]
Add support for SOUND_STREAM_TYPE_SOLO by internal API
[Version] Release 0.3.43
[Profile] Common
[Issue Type] New feature
Change-Id: I029d410dbc69051353e5cdd7c3c868520f7382ff
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
inhyeok [Mon, 18 Jan 2016 05:58:33 +0000 (14:58 +0900)]
Update sound_manager_doc.h for new 3.0 features
[Version] Release 0.3.42
[Profile] Common
[Issue Type] Script
Add description for sound stream module
Change-Id: Idf798d98ee393e39d8cabdaced1c42915c17d54e
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Sangchul Lee [Fri, 15 Jan 2016 02:03:34 +0000 (11:03 +0900)]
Add usb device for testcase regarding adding device
[Version] Release 0.3.41
[profile] Common
[Issue Type] Add test case
Change-Id: I1b7710f174d7b9147caff5d5049a7bd5fb58b28d
Sangchul Lee [Mon, 11 Jan 2016 00:32:32 +0000 (09:32 +0900)]
Add testcase for loopback and modify logs
[Version] Release 0.3.40
[profile] Common
[Issue Type] Feature enhancement
Change-Id: Iccb3577c49d0f2739a037860c7e9c35fe291b3e2
Sangchul Lee [Tue, 5 Jan 2016 00:21:09 +0000 (09:21 +0900)]
Add an internal stream type for ringback tone used by call
Enhance error handling codes to _get_stream_conf_info()
[Version] Release 0.3.39
[profile] Common
[Issue Type] Feature enhancement
Change-Id: I8f932fb10eb0e311e1a670276106956cb23ffc81
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 4 Jan 2016 06:39:48 +0000 (15:39 +0900)]
Add handling mutex codes for stream info handle created by internal API
[Version] Release 0.3.38
[profile] Common
[Issue Type] Feature enhancement
Change-Id: Id62f64124ef0da2596e4266d54ba76618ca3a2fc
Sangchul Lee [Mon, 14 Dec 2015 01:53:42 +0000 (10:53 +0900)]
Add internal APIs for querying the reason for the current acquired focus(playback/recording) in the system
int sound_manager_get_reason_for_current_playback_focus(sound_stream_focus_change_reason_e *acquired_by, char **additional_info)
int sound_manager_get_reason_for_current_recording_focus(sound_stream_focus_change_reason_e *acquired_by, char **additional_info)
User can get the reason for the current acquired focus via the new APIs globally.
Modify debug logs.
[Version] Release 0.3.37
[profile] Common
[Issue Type] Feature enhancement
Change-Id: If635cfe476376f6a69d88ffec9d46fb0616c6490
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 17 Dec 2015 06:44:07 +0000 (15:44 +0900)]
Add error case returning SOUND_MANAGER_ERROR_NO_DATA for sound_manager_get_sound_type API
In case of the stream_info made with SOUND_STREAM_TYPE_EMERGENCY, it'll return SOUND_MANAGER_ERROR_NO_DATA.
Because there is no sound_type_e matched to this stream_info.
[Version] Release 0.3.36
[profile] Common
[Issue Type] modification
Change-Id: I1eead535cfe934a3d0b5a533a27b498db6857bc7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Thu, 17 Dec 2015 10:44:51 +0000 (19:44 +0900)]
Remove libprivilege-control dependancy
Change-Id: I06bee140ea6d96b1d95df018ce94753a6b8d3d7f
Mok Jeongho [Tue, 3 Nov 2015 05:32:26 +0000 (14:32 +0900)]
Get allocated device list and add deallocate interface
Previously when we get device list,
it is maintained on global variable.
We fixed that not to use global variable then allocate memory for device list.
And now it needs deallocate interface also, so we added it.
[Version] Release 0.3.34
[profile] Common
[Issue Type] code clean-up
Change-Id: Ica8f0df6a76e02e613072026e2d54aa034d49d6c
Sangchul Lee [Tue, 8 Dec 2015 07:33:08 +0000 (16:33 +0900)]
Fix svace defects
[Version] Release 0.3.33
[Profile] Common
[Issue Type] Fix Bug
Change-Id: I54c68fd12482bd805b98eba67fb2788555434125
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Mok Jeongho [Wed, 2 Dec 2015 12:37:42 +0000 (21:37 +0900)]
remove g_variant_iter_free on not allocated variable
[Version] Release 0.3.32
[Profile] Common
[Issue Type] Fix Bug
Change-Id: I5f5b18e2c3b022788e971c01e064ab6a7aa0cd12
Mok Jeongho [Wed, 2 Dec 2015 04:44:16 +0000 (13:44 +0900)]
Add break logic for not-good state of virtual stream
[Version] Release 0.3.31
[Profile] Common
[Issue Type] Add feature
Change-Id: I4254f81b0a4fe72a17c919a87fdb7de471d3aeea
inhyeok [Thu, 5 Nov 2015 08:04:36 +0000 (17:04 +0900)]
Add setting focus auto reacquirement api
[Version] Release 0.3.30
[Profile] Common
[Issue Type] Add feature
Change-Id: Ia76804b6ab55d82d1e2ec322331b3eeea7f86efc
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Sangchul Lee [Fri, 20 Nov 2015 11:40:13 +0000 (20:40 +0900)]
Add STREAM_ROUTE_TYPE_AUTO_LAST_CONNECTED internal enumerator
[Version] Release 0.3.29
[profile] Common
[Issue Type] Feature Enhancement
Change-Id: Ie2dfeb6c6953d73bfad4394c176d3b0fc5b24ad3
Sangchul Lee [Tue, 17 Nov 2015 07:08:35 +0000 (16:08 +0900)]
Revise description - mention SOUND_STREAM_TYPE_MEDIA_EXTERNAL_ONLY to sound_manager_add_device_for_stream_routing() API
[Version] Release 0.3.28
[profile] Common
[Issue Type] Revise description
Change-Id: Iec110a215d8a681c42cd05e3447e4baba297a243
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 10 Nov 2015 05:52:28 +0000 (14:52 +0900)]
Revise description regarding focus callback
[Version] Release 0.3.27
[profile] Common
[Issue Type] Revise description
Change-Id: Ie02ccf4453a716d074445dd9708d0e920981dbfd
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 9 Nov 2015 06:15:17 +0000 (15:15 +0900)]
Set vconf key when the dbus API for set volume succeed
[Version] Release 0.3.26
[profile] Common
[Issue Type] Feature enhancement
Change-Id: I06df81a2d5ec236c79fb7f253d7d50a8dd4ca02d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 5 Nov 2015 13:57:45 +0000 (22:57 +0900)]
Add APIs for master volume for internal usage
- sound_manager_get_max_master_volume()
- sound_manager_get_master_volume()
- sound_manager_set_master_volume()
[Version] Release 0.3.25
[profile] Common
[Issue Type] Add feature
Change-Id: I42413b78edc4001739a0b03abb39b94f4c674faa
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 5 Nov 2015 06:48:11 +0000 (15:48 +0900)]
Return error if APIs related to focus are called in the same thread with focus callback's
In that case, SOUND_MANAGER_ERROR_INVALID_OPERATION will be returned. These APIs are as below.
- sound_manager_create_stream_information()/sound_manager_destroy_stream_information()
- sound_manager_acquire_focus()/sound_manager_release_focus()
- sound_manager_set_focus_state_watch_cb()/sound_manager_unset_focus_state_watch_cb()
[Version] Release 0.3.24
[profile] Common
[Issue Type] Feature enhancement
Change-Id: Ib557ad0068ae9f06f8ac98f3f2614dbee10cb767
Sangchul Lee [Tue, 3 Nov 2015 07:04:30 +0000 (16:04 +0900)]
Add new API for getting the sound type of the stream info handle
[Version] Release 0.3.23
[profile] Common
[Issue Type] New API
Change-Id: I826879d8725a54bcd6d06c52c334c977563aeb1d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 2 Nov 2015 01:48:16 +0000 (10:48 +0900)]
Modify codes for complying Tizen coding rule
[Version] Release 0.3.22
[profile] Common
[Issue Type] code clean-up
Change-Id: I7ecac71f4d8032ffd9823f6f6ea526760e920a34
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 7 Oct 2015 01:52:21 +0000 (10:52 +0900)]
Support a new stream type that is only for external devices (SOUND_STREAM_TYPE_MEDIA_EXTERNAL_ONLY)
[Version] Release 0.3.21
[profile] Common
[Issue Type] New Feature
Change-Id: I7395d4c0504043780ac009d73437cfd4940ed105
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 31 Aug 2015 07:27:45 +0000 (16:27 +0900)]
Fix codes to return valid error type in sound_manager_private.c
[Version] Release 0.3.20
[profile] Common
[Issue Type] Fix bug
Change-Id: I628268b8b061335d3da48b11da89ea20f1a0a75d
Sangchul Lee [Thu, 27 Aug 2015 09:22:55 +0000 (18:22 +0900)]
Apply the virtual stream feature to voip session APIs internally
Change prefix of private functions
[Version] Release 0.3.19
[profile] Common
[Issue Type] Fix bug and code clean-up
Change-Id: I7e14f466416c8ec13a85e4c8f09792acdf9b6f23
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
inhyeok [Wed, 12 Aug 2015 07:52:57 +0000 (16:52 +0900)]
Modify breaking point in available stream information checking
[Version] Release 0.3.18
[Profile] Common
[Issue Type] Bug Fix
Change-Id: If690409231d4e94c62ba4fe6c16cb5968fa24a79
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
inhyeok [Tue, 21 Jul 2015 04:17:14 +0000 (13:17 +0900)]
Adapt session interrupt callback to focus callback
[Version] Release 0.3.17
[Profile] Common
[Issue Type] Refactoring
[Dependency module] libmm-sound
Modify session interrupt callback to be invoked when focus callback is called
Change-Id: I0752f746e7cba3e54f544ec1560b5867575b4fd4
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Mok Jeongho [Mon, 10 Aug 2015 01:45:03 +0000 (10:45 +0900)]
Get subscription id when add callback
[Version] Release 0.3.16
[Profile] Common
[Issue Type] Interface changed
[Dependency module] libmm-sound
[Dependency commit]
0d396a1f786249ba22dbbb2f6176fcf64a26ef30
Change-Id: If77908fb20b839fa046123c8e5495d1a6ba9932e
Signed-off-by: Mok Jeongho <jho.mok@samsung.com>
Sangchul Lee [Fri, 7 Aug 2015 11:17:43 +0000 (20:17 +0900)]
Inform pulseaudio of the focus status that affects the routing
[Version] Release 0.3.16
[profile] Common
[Issue Type] Enhance feature
Change-Id: I2d92a65706144b9084ea9e15c654e0e23126f857
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 29 Jul 2015 11:20:54 +0000 (20:20 +0900)]
Check if manual device is set when starting virtual stream if the route type of the stream is manual
Add condition for the virutal stream.
Revise description for features in sound_manager_doc.h
Remove warning messages during compile.
Add Werror for compile option.
[Version] Release 0.3.15
[profile] Common
[Issue Type] Enhance code
Change-Id: Ic791206c8d9cc7d406cfb34dc446ce37a97b573e
Sangchul Lee [Thu, 16 Jul 2015 08:34:43 +0000 (17:34 +0900)]
Revise internal code and description about error type
Add SOUND_MANAGER_ERROR_NOT_SUPPORTED error type to the description of sound_manager_create_stream_information().
Remove NATIVE_API_RECORDER enumerator because recorder API does not use stream type of sound-manager.
Remove string copy for the stream_type of handle.
[Version] Release 0.3.14
[profile] Common
[Issue Type] revise code
Change-Id: Id4caa2ae617c9f4fc31ae1cf4ee342fe2b28966f
Sangchul Lee [Wed, 15 Jul 2015 01:02:02 +0000 (10:02 +0900)]
Modify internal API for setting routing option
[Version] Release 0.3.13
[profile] Common
[Issue Type] Revise API
Change-Id: I69ef98f5e3d42ff1ec185018fd118722704a858f