Sangchul Lee [Tue, 14 Aug 2018 02:46:11 +0000 (11:46 +0900)]
Fix typo in doxygen
[Version] 0.5.11
[Issue Type] Doxygen
Change-Id: I9af57a0a8e47314174be6cdd92252d323dfb03a3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 30 Jul 2018 04:21:17 +0000 (13:21 +0900)]
Add new APIs for USB audio output device
For getting/setting a particular sample format and rate,
a user can use these new APIs below.
sound_manager_get_supported_sample_formats()
sound_manager_set_sample_format()
sound_manager_get_sample_format()
sound_manager_get_supported_sample_rates()
sound_manager_set_sample_rate()
sound_manager_get_sample_rate()
If a user wants to use stream's original sample information
to the USB device without S/W resampling in audio daemon,
these new APIs can be useful.
sound_manager_set_avoid_resampling()
sound_manager_get_avoid_resampling()
A user can set the USB device only for media sound. If set
it true, only media type streams can be routed to the device.
sound_manager_set_media_stream_only()
sound_manager_get_media_stream_only()
[Version] 0.5.10
[Issue Type] New API
Change-Id: I8a6b49539776b56a87cd5b10914d3ded2d01db06
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Wed, 8 Aug 2018 03:51:29 +0000 (12:51 +0900)]
Fix coverity issues
[Version] 0.5.9
[Issue Type] Coverity
Change-Id: I1b3656a8f50b1635c5f99427b0ca598fa95c4a81
Sangchul Lee [Thu, 26 Jul 2018 03:18:26 +0000 (12:18 +0900)]
Remove menu item which doesn't exist
[Version] 0.5.8
[Issue Type] Testsuite
Change-Id: Ib2365f16f37a08c8a24607f74f298f5ee88aa595
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Tue, 10 Jul 2018 06:25:36 +0000 (15:25 +0900)]
Fix for improper referencing of deprecated API
[Version] 0.5.7
[Issue Type] Doxygen
Change-Id: I29fc7ec0a60f44d51557c3ffcfab7fe623f1b2a8
Sangchul Lee [Mon, 18 Dec 2017 01:18:12 +0000 (10:18 +0900)]
Revise codes to comply with API changes of libmm-sound
some functions of libmm-sound regarding focus was changed.
[Version] 0.5.6
[Issue Type] API changes of dependency module
Change-Id: Ifd561d5155b652abda2f4b412766b510c765074f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 31 May 2018 00:02:05 +0000 (09:02 +0900)]
Declare deprecation of SOUND_DEVICE_STATE_DEACTIVATED_MASK and SOUND_DEVICE_STATE_ACTIVATED_MASK
This activated/deactivated state concept is not used anymore.
(It is from tizen_4.0 branch)
[Version] 0.5.5
[Issue Type] deprecation
Change-Id: I0305f72bc60d115e815679dad428483bdd29d753
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 14 May 2018 06:32:20 +0000 (15:32 +0900)]
Remove unused functions
[Version] 0.5.4
[Issue Type] code clean-up
Change-Id: Ie180c447d0f0fc92fc00cd89c53a8e5eda14189c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Mon, 23 Apr 2018 10:13:04 +0000 (19:13 +0900)]
Fix for TV product build macro
[Version] 0.5.3
[Issue Type] Build
Change-Id: I83576b20c88752d449f857bedaa8472fff17e7af
Sangchul Lee [Tue, 26 Sep 2017 01:45:38 +0000 (10:45 +0900)]
Add new APIs to get device state
The running state of a device represents whether an audio stream is routed
to the device or not. User can notice the state by using these new APIs.
- sound_manager_is_device_running()
- sound_manager_add_device_running_changed_cb()
- sound_manager_remove_device_running_changed_cb()
[Version] 0.5.2
[Issue Type] New feature
Change-Id: I2f31356058b4402e5d0814c0bbe994cfd7b21286
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 13 Feb 2018 00:15:37 +0000 (09:15 +0900)]
Remove deprecated behavior in sound_manager_get_current_sound_type()
[Version] 0.5.1
[Issue Type] Clean-up
Change-Id: I99da3cb1edda0dd2559f0ef899f6368a3471ed7d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 16 Nov 2017 04:00:52 +0000 (13:00 +0900)]
Remove deprecated APIs declared since Tizen 3.0
[Version] 0.5.0
[Issue Type] Clean-up
Change-Id: I5b33264126f71aeaa289546f10923cf4f145de7d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 17 Oct 2017 09:10:03 +0000 (18:10 +0900)]
Apply macro for excluding lines to increase TC coverage result
[Version] 0.4.24
[Issue Type] TC Coverage
Change-Id: I4186d7ee5be18ef7dcd5014fa4cd7a07934cc70f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 28 Sep 2017 04:34:12 +0000 (13:34 +0900)]
Declare deprecation of device state APIs since tizen 4.0.
- sound_manager_get_device_state()
- sound_manager_add_device_state_changed_cb()
- sound_manager_remove_device_state_changed_cb()
Theses APIs for device state are not related to state of actual streams
which are running on the device. Rather the device state is changed by
session activation globally. It is called 'active device' concept.
As a result, it is not suitable for stream based concept that we seek
since tizen 3.0.
[Version] 0.4.23
[Issue Type] Deprecation
Change-Id: Ia8ab9f5c13689bbd41ae3463240fba90dd0f28df
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit
72fa27d38e32e0c7c09f2c65d50118e22d48149d)
Sangchul Lee [Mon, 4 Sep 2017 01:41:15 +0000 (10:41 +0900)]
Revise dbus error handling codes to be more defensive
[Version] 0.4.22
[Issue Type] Enhancement
Change-Id: I08d99c364881d9252c12c7f607a9be07e8d1a780
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 22 Aug 2017 05:27:34 +0000 (14:27 +0900)]
Fix focus acquired state check condition
[Version] 0.4.21
[Issue Type] Enhancement
Change-Id: Ic399e2849a2467b0c933d01491f02cdf3af4ca0e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 22 Aug 2017 05:24:27 +0000 (14:24 +0900)]
Add testcase for getting device state by id
[Version] 0.4.20
[Issue Type] Testcase
Change-Id: I55f9df7579d3bd1551edcbffb48faae067091c67
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 10 Aug 2017 10:57:53 +0000 (19:57 +0900)]
Add a mutex lock for focus callback
[Version] 0.4.19
[Issue Type] Enhancement
Change-Id: Iad902c6c3d44ac336ac37e4813d1124ac1a2b9d4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 4 Aug 2017 02:08:35 +0000 (11:08 +0900)]
Add new API to remove all devices from stream information handle
[Version] 0.4.18
[Issue Type] New API
Change-Id: I3c918cf712e3bcbddb79fe3613cb2e06e0a6e55e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 31 Jul 2017 06:39:11 +0000 (15:39 +0900)]
Fix SVACE issues
Some range checking codes that are "always false which may be caused by a logical error" are fixed.
[Version] 0.4.17
[Issue Type] Enhancement
Change-Id: I13d800f1e90b2fde67a3eac2fc798ca3c453c9f5
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 28 Jun 2017 02:13:42 +0000 (11:13 +0900)]
Add support for more filters
SOUND_FILTER_LOW_PASS, SOUND_FILTER_HIGH_PASS, SOUND_FILTER_DELAY are added.
Added to check if the preset is valid for filter.
[Version] 0.4.16
[Issue Type] Enhancement
Change-Id: I124f7f1aac227b0fc03fb5a733acedc2f24f0705
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 28 Jun 2017 02:22:29 +0000 (11:22 +0900)]
Add new internal APIs to sound_manager_internal_tv.h
[Version] 0.4.15
[Issue Type] Header
Change-Id: I84bf5e3f28ed7a71801d28ce348003eb06fddd83
Sangchul Lee [Wed, 21 Jun 2017 08:11:13 +0000 (17:11 +0900)]
Add new internal stream type for compressed media
[Version] 0.4.14
[Issue Type] New feature
Change-Id: I50c26bc0a1c7cbf401d181bb88a6338509341ae3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 16 Jun 2017 00:56:04 +0000 (09:56 +0900)]
Add new API to deliver focus to another stream info handle without invoking focus(watch) state changed callback
[Version] 0.4.13
[Issue Type] New feature
Change-Id: If2422f28fd1148fd2885fde160efa1e38cabdff8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 20 Jun 2017 02:20:45 +0000 (11:20 +0900)]
Add mutex lock to protect focus state of stream information handle
[Version] 0.4.12
[Issue Type] Enhancement
Change-Id: Iad37b8f3c94300615bc9aaac2bb30261b79f2084
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 19 Jun 2017 08:58:30 +0000 (17:58 +0900)]
Add mutex lock after init to SM_ENTER_CRITICAL_SECTION_WITH_RETURN macro
Initialize mutex in case of declaring.
[Version] 0.4.11
[Issue Type] Enhancement
Change-Id: I5ca5c4d20ae4d37e00de43393d428c4301b62ba2
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 15 Jun 2017 07:43:32 +0000 (16:43 +0900)]
Conditions for checking focus state is revised considering that it could be called within focus callback
[Version] 0.4.10
[Issue Type] Fix bug and enhancement
Change-Id: Ibb74305e23fc16745adb26ac5103e0bdabdc22e4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 7 Jun 2017 02:03:29 +0000 (11:03 +0900)]
Modifiy description
It is the revert commit of
e0b2bff97347db2af56426c1727020dde0c3e41d(Revise error description).
And added more comments for tizen 4.0.
[Version] 0.4.9
[Issue Type] Description
Change-Id: I0beb6ca1d74fceb6b1bc967867e2f36cc8e522f0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 29 May 2017 02:44:16 +0000 (11:44 +0900)]
Add sound_manager_acquire_focus_all() and sound_manager_release_focus_all()
These functions do not return error even though one or all of focuses
have already been released or acquired.
These are intended to be used to acquire all focuses or release all focuses
with checking its state more loosely.
[Version] 0.4.8
[Issue Type] New API
Change-Id: Icb1757bef790f01875ef8d97cf07026966122b8e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 15 Jun 2017 05:48:05 +0000 (14:48 +0900)]
Add new internal APIs to get device vendor id/product id
- sound_manager_get_device_vendor_id()
- sound_manager_get_device_product_id()
[Version] 0.4.7
[Issue Type] New internal API
Change-Id: I22979338683b1d0b5462984f2bf7f2d38ccfba82
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 14 Jun 2017 02:42:05 +0000 (11:42 +0900)]
fixup! Check state before acquiring/releasing focus
[Version] 0.4.6
[Issue Type] Bug fix
Change-Id: Ib55f011d9968f28b58058887bbd966001415b5b1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 13 Jun 2017 08:43:27 +0000 (17:43 +0900)]
Add new internal stream type - SOUND_STREAM_TYPE_VOICE_RECOGNITION_SERVICE
It is added to be used in a daemon process to provide voice recognition service.
[Version] 0.4.5
[Issue Type] New enum
Change-Id: I51cdb00e1216c0f90f02fb7fcb8ff9f716d4b327
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 8 Jun 2017 02:18:05 +0000 (11:18 +0900)]
fixup! Add new internal APIs to add/remove device id to stream_info and to get device state by id
Remove wrong parameter checking codes.
Fix sound_manager_test to test new API properly.
[Version] 0.4.4
[Issue Type] Bug fix
Change-Id: I1808e6406fb622df767febc6604cc07c91b68be1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 1 Jun 2017 08:23:34 +0000 (17:23 +0900)]
Add new internal APIs to add/remove device id to stream_info and to get device state by id
- sound_manager_add_device_id_for_stream_routing()
- sound_manager_remove_device_id_for_stream_routing()
- sound_manager_get_device_state_by_id()
[Version] 0.4.3
[Issue Type] New internal API
Change-Id: Ic3943ba95ccf0d121d1f7c3c47086ab4ac59b698
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 16 May 2017 04:52:52 +0000 (13:52 +0900)]
Revise error description
Remove SOUND_MANAGER_ERROR_INVALID_OPERATION error type of
sound_manager_acquire_focus() and sound_manager_release_focus().
[Version] 0.4.2
[Issue Type] Enhancement
Change-Id: I969ae48294598ce61ba09aed9293a8d12a386eec
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 3 Mar 2017 07:54:51 +0000 (16:54 +0900)]
Check state before acquiring/releasing focus
[Version] 0.4.1
[Issue Type] Enhancement
Change-Id: I9d2b200497b625eab7016216732d189926f4b376
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 11 May 2017 03:59:52 +0000 (12:59 +0900)]
Revise error type in case of error of Dbus method in _set_manual_route_info()
[Version] 0.3.114
[Issue Type] Enhancement
Change-Id: Iae738484158740bf0f694a23c5f15c8850e0d12d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 2 May 2017 02:14:02 +0000 (11:14 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I5340031f35f703870c7f46e118ebd2559e58e6c4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 26 Apr 2017 07:58:28 +0000 (16:58 +0900)]
Fix session interrupted callback in case of SOUND_SESSION_INTERRUPTED_BY_EARJACK_UNPLUG
Added to check pulseaudio stream information whether it invokes user callback or not.
The invoking condition complies with legacy session policy.
[Version] 0.3.113
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I10bd367ecbc6670a0b9b1dd220ba556d6cb2d846
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Wed, 19 Apr 2017 13:15:53 +0000 (22:15 +0900)]
Fix SVACE defect
[Version] 0.3.110
[Profile] Common
[Issue Type] Security
Change-Id: I4461f459392003077658fb51cb3081442c09b433
Sangchul Lee [Tue, 18 Apr 2017 01:31:54 +0000 (10:31 +0900)]
Fix memory leak in sound_manager_get_current_playback[recording]_focus()
[Version] 0.3.112
[Profile] Common
[Issue Type] Memory leak
Change-Id: I0462f443d453e4c5331cad83c855f82e69c68698
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 14 Apr 2017 02:49:40 +0000 (11:49 +0900)]
Fix to release internal focus of voip session when getting back to another session from the voip session
focus state watch callback will be called if the voip session is changed to another session
[Version] 0.3.111
[Profile] Common
[Issue Type] Bug fix
Change-Id: I9c3dbd1372360e4d302dc9c8e87a80260b8e609d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 12 Apr 2017 07:14:38 +0000 (16:14 +0900)]
Fix session interrupted callback
[Version] 0.3.110
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I18b54542a9cc11d48da78d8e6e8e394d35f0ed2c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
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>
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
(cherry picked from commit
af79d89a478bcc80009891a437a1484e9551f2de)
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)
KimJeongYeon [Wed, 7 Sep 2016 06:59:45 +0000 (15:59 +0900)]
sound-manager: add new sound filter API
Internal filter APIs (for proposal)
1) int sound_manager_set_filter(sound_stream_type_e stream_type, sound_filter_e filter)
2) int sound_manager_unset_filter(sound_stream_type_e stream_type)
3) int sound_manager_set_filter_preset(sound_stream_type_e stream_type, sound_filter_e filter, sound_filter_preset_e preset)
[Version] 0.3.108
[Profile] Common
[Issue Type] New Feature
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: If13b28072be5b4eedf0dbfc3da86f74eada96dd2
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
Jeongho Mok [Fri, 24 Mar 2017 10:00:07 +0000 (19:00 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I92aafcbf45061d24de3c6cbc4d64e7430d18e539
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>
Seungbae Shin [Thu, 16 Mar 2017 10:32:12 +0000 (19:32 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I6a927b45086ebe7968ee255b92bddfa76ba00f2e
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
Seungbae Shin [Mon, 13 Feb 2017 04:14:15 +0000 (13:14 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Ia3edfe1b4cf5f52fda949a3be99001b5587a1874
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 [Thu, 2 Feb 2017 09:46:33 +0000 (18:46 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I993ffdaeffff4ff0fed8b87ddac0a37ef111baec
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 [Mon, 23 Jan 2017 13:13:47 +0000 (22:13 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I18e253d165041730b255bfe4f22d58e2b3ed25d0
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>
(cherry picked from commit
2df00635cc65db797118714323dc38178eb86220)
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>
Seungbae Shin [Mon, 16 Jan 2017 07:40:31 +0000 (16:40 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Ic01a7d123f262be6d4e0b10e32cc9171b159c003
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 [Fri, 6 Jan 2017 07:27:33 +0000 (16:27 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I48142fb70d0307f3cae91425e3d5498d5f6e1f78
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
Seungbae Shin [Fri, 23 Dec 2016 05:09:18 +0000 (14:09 +0900)]
Merge branch 'tizen_3.0' into tizen
Conflicts:
packaging/capi-media-sound-manager.spec
src/sound_manager.c
Change-Id: I99c412a457f1ce2f5c2d15bce5bd43e2e1ef0057
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
(cherry picked from commit
5c169ded255a09e1c893d9bf473bd05113e24334)
Seungbae Shin [Sat, 10 Dec 2016 06:44:30 +0000 (15:44 +0900)]
Disable _get_current_media_routing_path() temporally.
Change-Id: I843896f8de169a4e6a643de62624696ff5d25faf
(cherry picked from commit
c9136a1d8684b152b55e9a1461414881e8a2d9d0)
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>
(cherry picked from commit
7f574c44aa483970d0b8ffb47348ebcfa0a1928e)
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, 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
(cherry picked from commit
53818999b5fe83130379bc5d45066d9ded93b018)
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
(cherry picked from commit
097409d0b83d602dff2181085ff373c4e9caa45f)
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
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: Icecfae40c8ed2ff77f3085599dc88ed9eaa35f92
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>
(cherry picked from commit
3716e87ddaebdc52c9cd2c5fae89684bb1db9a88)
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
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