platform/core/api/sound-manager.git
7 years agoAdd new internal APIs to get device vendor id/product id 65/134165/3
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>
7 years agofixup! Check state before acquiring/releasing focus 96/133896/1 submit/tizen/20170614.045837
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>
7 years agoAdd new internal stream type - SOUND_STREAM_TYPE_VOICE_RECOGNITION_SERVICE 92/133892/1
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>
7 years agofixup! Add new internal APIs to add/remove device id to stream_info and to get device... 29/132829/1 accepted/tizen/unified/20170608.072630 submit/tizen/20170608.040824
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>
7 years agoAdd new internal APIs to add/remove device id to stream_info and to get device state... 53/132153/1 accepted/tizen/unified/20170605.150756 submit/tizen/20170602.051157
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>
7 years agoRevise error description 09/129309/1
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>
7 years agoCheck state before acquiring/releasing focus 08/129308/1
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>
7 years agoRevise error type in case of error of Dbus method in _set_manual_route_info() 67/128667/1 accepted/tizen/unified/20170511.173105 submit/tizen/20170511.042527 tizen_4.0.m1_release
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>
7 years agoMerge branch 'tizen_3.0' into tizen 38/127838/1 accepted/tizen/unified/20170502.165407 submit/tizen/20170502.041616
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>
7 years agoFix session interrupted callback in case of SOUND_SESSION_INTERRUPTED_BY_EARJACK_UNPLUG 21/127121/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170519.185839 accepted/tizen/3.0/ivi/20170519.065923 accepted/tizen/3.0/mobile/20170519.065902 accepted/tizen/3.0/tv/20170519.065910 accepted/tizen/3.0/wearable/20170519.065916 submit/tizen_3.0/20170517.035640
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>
7 years agoFix SVACE defect 80/125980/1 accepted/tizen/unified/20170420.155235 submit/submit/tizen/20170427.124253/20170428.054844 submit/tizen/20170420.054453 submit/tizen/20170427.124253
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

7 years agoFix memory leak in sound_manager_get_current_playback[recording]_focus() 44/125544/1
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>
7 years agoFix to release internal focus of voip session when getting back to another session... 50/125150/3
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>
7 years agoFix session interrupted callback 36/124736/1
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>
7 years agoReturn policy error if the stream info is not manual route type in case of adding... 21/122721/2 accepted/tizen/unified/20170406.055016 submit/tizen/20170405.072228
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>
7 years agoReturn policy error if the stream info is not manual route type in case of adding... 18/122718/3 accepted/tizen/3.0/common/20170405.133813 accepted/tizen/3.0/ivi/20170404.222445 accepted/tizen/3.0/mobile/20170404.222402 accepted/tizen/3.0/tv/20170404.222416 accepted/tizen/3.0/wearable/20170404.222430 submit/tizen_3.0/20170404.052014
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>
7 years agoModify Doxygen comment related to deprecated APIs & feature reference link 43/122743/2
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)

7 years agoModify Doxygen comment related to deprecated APIs & feature reference link 28/122628/2 accepted/tizen/3.0/common/20170404.141020 accepted/tizen/3.0/ivi/20170404.084633 accepted/tizen/3.0/mobile/20170404.084409 accepted/tizen/3.0/tv/20170404.084529 accepted/tizen/3.0/wearable/20170404.084603 submit/tizen_3.0/20170403.124940
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

7 years agoUse license macro in spec 23/122023/1 accepted/tizen/3.0/common/20170331.152213 accepted/tizen/3.0/ivi/20170331.044325 accepted/tizen/3.0/mobile/20170331.044127 accepted/tizen/3.0/tv/20170331.044213 accepted/tizen/3.0/wearable/20170331.044248 submit/tizen_3.0/20170330.091154
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)

7 years agosound-manager: add new sound filter API 00/87400/20
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

7 years agoUse license macro in spec 59/120259/4 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.172612 accepted/tizen/ivi/20170329.222745 accepted/tizen/mobile/20170329.222604 accepted/tizen/tv/20170329.222657 accepted/tizen/unified/20170329.222804 accepted/tizen/wearable/20170329.222721 submit/tizen/20170329.121135
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

7 years agoMerge branch 'tizen_3.0' into tizen 34/120834/2
Jeongho Mok [Fri, 24 Mar 2017 10:00:07 +0000 (19:00 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I92aafcbf45061d24de3c6cbc4d64e7430d18e539

7 years agoFix invalid operation in _set_session_mode() and refactor internal functions related... 86/120586/3 accepted/tizen/3.0/common/20170330.124949 accepted/tizen/3.0/ivi/20170329.223030 accepted/tizen/3.0/mobile/20170329.222931 accepted/tizen/3.0/tv/20170329.222949 accepted/tizen/3.0/wearable/20170329.223010 submit/tizen_3.0/20170329.043647
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>
7 years agoInitialize g_cached_voip_device_id properly in _set_manual_route_info() and add more... 39/120239/1
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>
7 years agoAdjust timing to update focus status in _focus_state_change_callback() 82/120182/2
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>
7 years agoMerge branch 'tizen_3.0' into tizen 34/119334/1
Seungbae Shin [Thu, 16 Mar 2017 10:32:12 +0000 (19:32 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I6a927b45086ebe7968ee255b92bddfa76ba00f2e

7 years agoChange user data of registering focus(watch) callback to simplify logic in the callback 96/118996/3
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>
7 years agoFix codes not to destroy internal focus handle among VoIP session modes 44/117544/9
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>
7 years agoConvert bt-a2dp type correctly 62/116362/1
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

7 years agoFix SVACE defect 69/114969/1 accepted/tizen/3.0/common/20170217.121836 accepted/tizen/3.0/ivi/20170217.021638 accepted/tizen/3.0/mobile/20170217.021420 accepted/tizen/3.0/tv/20170217.021433 accepted/tizen/3.0/wearable/20170217.021510 submit/tizen_3.0/20170216.053859
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

7 years agoMerge branch 'tizen_3.0' into tizen 24/114324/1 accepted/tizen/common/20170214.174009 accepted/tizen/ivi/20170214.230416 accepted/tizen/mobile/20170214.230348 accepted/tizen/tv/20170214.230356 accepted/tizen/unified/20170309.031912 accepted/tizen/wearable/20170214.230406 submit/tizen/20170214.125635 submit/tizen_unified/20170308.100405
Seungbae Shin [Mon, 13 Feb 2017 04:14:15 +0000 (13:14 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ia3edfe1b4cf5f52fda949a3be99001b5587a1874

7 years agoSupport 3P/4P audiojack device in voip session mode 80/114180/1 accepted/tizen/3.0/common/20170213.160832 accepted/tizen/3.0/ivi/20170213.035334 accepted/tizen/3.0/mobile/20170213.035215 accepted/tizen/3.0/tv/20170213.035256 accepted/tizen/3.0/wearable/20170213.035321 submit/tizen_3.0/20170210.094941
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>
7 years agoAdd ommited symbols in sound_manager_internal_tv.h 77/114077/3
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>
7 years agoStop mainloop before destroying sound_stream_info 54/113954/1
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

7 years agoAdd internal function - sound_manager_disable_session_backward_compatibility() 82/113382/2 accepted/tizen/3.0/common/20170210.071149 accepted/tizen/3.0/ivi/20170210.002007 accepted/tizen/3.0/mobile/20170210.001859 accepted/tizen/3.0/tv/20170210.001936 accepted/tizen/3.0/wearable/20170210.001959 submit/tizen_3.0/20170208.084721
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>
7 years agoAdd internal function - sound_manager_get_internal_voip_stream_information() 49/113249/1
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>
7 years agoAdd input audio device according to voip session mode 47/113047/4
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>
7 years agoMerge branch 'tizen_3.0' into tizen 15/112715/1 accepted/tizen/common/20170203.161617 accepted/tizen/ivi/20170203.023104 accepted/tizen/mobile/20170203.023010 accepted/tizen/tv/20170203.023034 accepted/tizen/wearable/20170203.023050 submit/tizen/20170202.111238
Seungbae Shin [Thu, 2 Feb 2017 09:46:33 +0000 (18:46 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I993ffdaeffff4ff0fed8b87ddac0a37ef111baec

7 years agoFix memory leak : valgrind detected 85/112385/3 tizen_3.0_tv accepted/tizen/3.0/common/20170202.151050 accepted/tizen/3.0/ivi/20170202.085714 accepted/tizen/3.0/mobile/20170202.085626 accepted/tizen/3.0/tv/20170202.085643 accepted/tizen/3.0/wearable/20170202.085657 submit/tizen_3.0/20170201.113021
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

7 years agoMerge branch 'tizen_3.0' into tizen 08/111708/1 accepted/tizen/common/20170123.182431 accepted/tizen/ivi/20170125.085004 accepted/tizen/mobile/20170125.084847 accepted/tizen/tv/20170125.084919 accepted/tizen/wearable/20170125.084938 submit/tizen/20170123.131118
Seungbae Shin [Mon, 23 Jan 2017 13:13:47 +0000 (22:13 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I18e253d165041730b255bfe4f22d58e2b3ed25d0

7 years agoDo not install testsuite on TV product 48/110848/2 accepted/tizen/3.0/common/20170124.081306 accepted/tizen/3.0/ivi/20170124.042408 accepted/tizen/3.0/mobile/20170124.042240 accepted/tizen/3.0/tv/20170124.042312 accepted/tizen/3.0/wearable/20170124.042342 submit/tizen_3.0/20170123.123302
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

7 years agoUpdate focus status to pulseaudio when after focus state callback is called 07/110807/1
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)

7 years agoUpdate focus status to pulseaudio when after focus state callback is called 55/110555/1
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>
7 years agoMerge branch 'tizen_3.0' into tizen 84/110384/1
Seungbae Shin [Mon, 16 Jan 2017 07:40:31 +0000 (16:40 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ic01a7d123f262be6d4e0b10e32cc9171b159c003

7 years agoDivide case for registering focus node depending on session backward compatibility 40/110240/3 accepted/tizen/3.0/common/20170118.130827 accepted/tizen/3.0/ivi/20170118.042759 accepted/tizen/3.0/mobile/20170118.042708 accepted/tizen/3.0/tv/20170118.042721 accepted/tizen/3.0/wearable/20170118.042739 submit/tizen_3.0/20170116.094232
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>
7 years agoFix API reference warning 60/109460/1 accepted/tizen/3.0/common/20170113.182101 accepted/tizen/3.0/ivi/20170113.080303 accepted/tizen/3.0/mobile/20170113.080216 accepted/tizen/3.0/tv/20170113.080230 accepted/tizen/3.0/wearable/20170113.080248 submit/tizen_3.0/20170111.132101
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

7 years agoMerge branch 'tizen_3.0' into tizen 08/108908/1 accepted/tizen/common/20170109.202632 accepted/tizen/ivi/20170110.080650 accepted/tizen/mobile/20170110.080532 accepted/tizen/tv/20170110.080610 accepted/tizen/wearable/20170110.080626 submit/tizen/20170109.130136
Seungbae Shin [Fri, 6 Jan 2017 07:27:33 +0000 (16:27 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I48142fb70d0307f3cae91425e3d5498d5f6e1f78

7 years agoFix to return NO_DATA properly in get_current_media_playback_device_type() 41/108241/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121839 accepted/tizen/3.0.m2/tv/20170104.122339 accepted/tizen/3.0.m2/wearable/20170104.122719 accepted/tizen/3.0/common/20170103.173101 accepted/tizen/3.0/ivi/20170103.160212 accepted/tizen/3.0/mobile/20170103.160147 accepted/tizen/3.0/tv/20170103.160158 accepted/tizen/3.0/wearable/20170103.160205 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20170103.121528
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

7 years agoMerge branch 'tizen_3.0' into tizen 85/106785/1 accepted/tizen/common/20161227.192039 accepted/tizen/ivi/20161226.012634 accepted/tizen/mobile/20161226.012550 accepted/tizen/tv/20161226.012607 accepted/tizen/wearable/20161226.012616 submit/tizen/20161223.120533
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

7 years agoUse proper API get_current_device_list 51/106051/1 accepted/tizen/3.0/common/20161221.180723 accepted/tizen/3.0/ivi/20161221.005553 accepted/tizen/3.0/mobile/20161221.005646 accepted/tizen/3.0/tv/20161221.005438 accepted/tizen/3.0/wearable/20161221.005529 submit/tizen_3.0/20161219.120436
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

7 years agostream is on device 59/104559/1
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)

7 years agoDisable _get_current_media_routing_path() temporally. 58/104558/1
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)

7 years agoAdd sound_manager_is_stream_on_device() and sound_manager_get_current_media_playback_... 57/104557/1
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)

7 years agostream is on device 61/104161/3 accepted/tizen/3.0/common/20161215.163000 accepted/tizen/3.0/ivi/20161215.043856 accepted/tizen/3.0/mobile/20161215.043710 accepted/tizen/3.0/tv/20161215.043755 accepted/tizen/3.0/wearable/20161215.043808 submit/tizen_3.0/20161213.132802 submit/tizen_3.0/20161214.084609
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

7 years agoDisable _get_current_media_routing_path() temporally. 96/103896/1 accepted/tizen/3.0/common/20161212.060547 accepted/tizen/3.0/ivi/20161212.023628 accepted/tizen/3.0/mobile/20161212.023419 accepted/tizen/3.0/tv/20161212.023457 accepted/tizen/3.0/wearable/20161212.023539 submit/tizen_3.0/20161209.122540
Seungbae Shin [Sat, 10 Dec 2016 06:44:30 +0000 (15:44 +0900)]
Disable _get_current_media_routing_path() temporally.

Change-Id: I843896f8de169a4e6a643de62624696ff5d25faf

7 years agoAdd sound_manager_is_stream_on_device() and sound_manager_get_current_media_playback_... 99/102999/4
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>
7 years agoFix testsuite bug 27/103327/1
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

7 years agoFix testsuite bug 93/103093/1
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

7 years agoChange set/unset callback to add/remove callback, and add device state changed callback 46/102546/1 accepted/tizen/common/20161207.184512 accepted/tizen/ivi/20161208.012205 accepted/tizen/mobile/20161208.011810 accepted/tizen/tv/20161208.012010 accepted/tizen/wearable/20161208.012111 submit/tizen/20161207.075356
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)

7 years agoremove avail mode 43/102543/1
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)

7 years agodivide bluetooth to a2dp and sco 79/102279/1
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

7 years agoChange set/unset callback to add/remove callback, and add device state changed callback 97/101597/9 accepted/tizen/3.0/common/20161207.194419 accepted/tizen/3.0/ivi/20161207.011841 accepted/tizen/3.0/mobile/20161207.011348 accepted/tizen/3.0/tv/20161207.011634 accepted/tizen/3.0/wearable/20161207.011736 submit/tizen_3.0/20161206.052949
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

7 years agoremove avail mode 73/101473/3
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

7 years agodivide bluetooth to a2dp and sco 84/101184/7
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

7 years agoModification of stream focus APIs 75/101675/1 accepted/tizen/common/20161202.233214 accepted/tizen/ivi/20161207.025429 accepted/tizen/mobile/20161207.025250 accepted/tizen/tv/20161207.025335 accepted/tizen/wearable/20161207.025401 submit/tizen/20161202.035430
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

7 years agoFix svace defects 72/101672/1
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)

7 years agoModification of stream focus APIs 55/98855/15 accepted/tizen/3.0/common/20161205.091501 accepted/tizen/3.0/ivi/20161204.233636 accepted/tizen/3.0/mobile/20161204.233335 accepted/tizen/3.0/tv/20161204.233502 accepted/tizen/3.0/wearable/20161204.233548 submit/tizen_3.0/20161202.035416
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

7 years agoFix svace defects 25/101325/3 accepted/tizen/3.0/common/20161203.012505 accepted/tizen/3.0/ivi/20161202.011354 accepted/tizen/3.0/mobile/20161202.011257 accepted/tizen/3.0/tv/20161202.011316 accepted/tizen/3.0/wearable/20161202.011335 submit/tizen_3.0/20161201.120416
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>
7 years agoAdd new API sound_manager_get_device_list,and deprecate sound_manager_get_current_dev... 32/100532/1
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

7 years agoAdd new API sound_manager_get_device_list,and deprecate sound_manager_get_current_dev... 36/99536/7
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

7 years agoRevert "Add sound_manager_reserve_release_all_focus() function in sound_manager_inter... 42/99742/1
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

7 years agoRevert "Add sound_manager_reserve_release_all_focus() function in sound_manager_inter... 39/99739/1
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

7 years agoAdd sound_manager_reserve_release_all_focus() function in sound_manager_internal.h 15/99115/3
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>
7 years agoAdd sound_manager_reserve_release_all_focus() function in sound_manager_internal.h 03/99103/4
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>
8 years agoDo not send a signal for backward compatibility in case of internal stream info.... 69/97369/1 accepted/tizen/common/20161115.200645 accepted/tizen/ivi/20161115.234310 accepted/tizen/mobile/20161115.234036 accepted/tizen/tv/20161115.234202 accepted/tizen/wearable/20161115.234234 submit/tizen/20161115.062308
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

8 years agoDo not send a signal for backward compatibility in case of internal stream info.... 68/97368/1 accepted/tizen/3.0/common/20161116.143913 accepted/tizen/3.0/ivi/20161116.023345 accepted/tizen/3.0/mobile/20161116.022831 accepted/tizen/3.0/tv/20161116.022939 accepted/tizen/3.0/wearable/20161116.023224 submit/tizen_3.0/20161115.060306
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

8 years agotestsuite : print device list when get current device list 93/96793/1
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)

8 years agotestsuite : print device list when get current device list 86/96286/3
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

8 years agoAdd sound_manager_get_changed_focus_state() to get changed focus related information... 45/95845/1 accepted/tizen/3.0/common/20161114.081621 accepted/tizen/3.0/ivi/20161109.124720 accepted/tizen/3.0/mobile/20161109.124312 accepted/tizen/3.0/tv/20161109.124530 accepted/tizen/3.0/wearable/20161109.124633 submit/tizen_3.0/20161108.053851 submit/tizen_3.0_common/20161110.084657
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>
8 years agoAdd SOUND_STREAM_FOCUS_FOR_BOTH enumerator 44/95844/1
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>
8 years agoAdd sound_manager_get_changed_focus_state() to get changed focus related information... 18/94518/4 accepted/tizen/common/20161109.140234 accepted/tizen/ivi/20161109.002822 accepted/tizen/mobile/20161109.002443 accepted/tizen/tv/20161109.002645 accepted/tizen/wearable/20161109.002738 submit/tizen/20161108.054351
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>
8 years agoAdd SOUND_STREAM_FOCUS_FOR_BOTH enumerator 45/91945/2
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>
8 years agoDisable focus feature of the radio stream 17/91317/1 accepted/tizen/3.0/ivi/20161028.122949 accepted/tizen/3.0/mobile/20161028.122229 accepted/tizen/3.0/tv/20161028.122525 accepted/tizen/3.0/wearable/20161028.122744 accepted/tizen/common/20161012.154145 accepted/tizen/ivi/20161012.065358 accepted/tizen/mobile/20161012.065239 accepted/tizen/tv/20161012.065309 accepted/tizen/wearable/20161012.065332 submit/tizen/20161012.010406 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
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

8 years agoUpdate sound_manager_internal_tv.h for product tv 35/90235/1
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>
8 years agoAdd loopback-mirroring stream type for internal use 84/89784/4 accepted/tizen/3.0/ivi/20161011.065051 accepted/tizen/3.0/mobile/20161015.032601 accepted/tizen/3.0/tv/20161016.003513 accepted/tizen/3.0/wearable/20161015.080259 accepted/tizen/common/20160928.163908 accepted/tizen/ivi/20160930.040733 accepted/tizen/mobile/20160930.040358 accepted/tizen/tv/20160930.040544 accepted/tizen/wearable/20160930.040642 submit/tizen/20160928.043825 submit/tizen_3.0_ivi/20161010.000007 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
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>
8 years agoAdd new API to get avail-mode(media/voice) of Bluetooth devices 71/86571/17
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

8 years agoRevise description of sound_manager_focus_set[get]_requesting_behavior() 32/89232/3
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

8 years agoApply DEPRECATION macro and declare deprecation of sound_manager_unset_current_sound_... 52/89052/2
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>
8 years agoDeclare deprecation of sound_manager_set_current_sound_type() since tizen 3.0. 84/88584/2 accepted/tizen/common/20160921.162155 accepted/tizen/ivi/20160922.042616 accepted/tizen/mobile/20160922.042325 accepted/tizen/tv/20160922.042449 accepted/tizen/wearable/20160922.042537 submit/tizen/20160921.041639
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>
8 years agoAdd new APIs to communicate with one another about the predefined sound behavior... 54/81854/17
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>
8 years agoCheck mic feature when setting session type to voip 10/88110/1
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

8 years agoRename TIZEN_TV_PROD with TIZEN_FEATURE_TV_PROD 17/86917/2 accepted/tizen/common/20160907.154635 accepted/tizen/ivi/20160908.044139 accepted/tizen/mobile/20160908.043149 accepted/tizen/tv/20160908.043924 accepted/tizen/wearable/20160908.044030 submit/tizen/20160907.074000
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

8 years agoAllow NULL for sound_stream_focus_state_changed_cb which is a parameter of sound_mana... 16/85616/2 accepted/tizen/common/20160831.162106 accepted/tizen/ivi/20160901.065303 accepted/tizen/mobile/20160901.065042 accepted/tizen/tv/20160901.065139 accepted/tizen/wearable/20160901.065216 submit/tizen/20160831.052250
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>
8 years agoFix return value in case of invalid id parameter of sound_manager_remove_focus_state_... 05/85105/1 accepted/tizen/common/20160824.154756 accepted/tizen/ivi/20160825.050425 accepted/tizen/mobile/20160825.050239 accepted/tizen/tv/20160825.050329 accepted/tizen/wearable/20160825.050352 submit/tizen/20160824.052737
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>
8 years agoDescriptions regarding version history are revised 44/84544/1 accepted/tizen/common/20160823.132723 submit/tizen/20160823.063104
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>
8 years agoMove @remarks to above @param 74/83974/3
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>
8 years agoAdd sound_manager_add[remove]_focus_state_watch_cb() 49/83249/7
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>
8 years agoFix to return MM_ERROR* instead of SOUND_MANAGER_ERROR* in sound_manager_private... 22/79922/1 accepted/tizen/common/20160719.172003 accepted/tizen/ivi/20160718.104831 accepted/tizen/mobile/20160718.104911 accepted/tizen/tv/20160718.104643 accepted/tizen/wearable/20160718.104758 submit/tizen/20160718.052709
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

8 years agoRevise remarks for sound_manager_set_focus_state_watch_cb() 00/72000/3
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>
8 years agoRemove master volume APIs in TV product 45/76745/1 accepted/tizen/common/20160627.192228 accepted/tizen/ivi/20160628.014755 accepted/tizen/mobile/20160628.014805 accepted/tizen/tv/20160628.014747 accepted/tizen/wearable/20160628.014758 submit/tizen/20160627.101015
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