platform/core/api/sound-manager.git
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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... 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... 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 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>
7 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

7 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)

7 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>
7 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 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

8 years agoRemove master volume APIs in TV product 31/75731/3 accepted/tizen/common/20160622.145908 accepted/tizen/ivi/20160623.120927 accepted/tizen/mobile/20160623.120839 accepted/tizen/tv/20160623.120854 accepted/tizen/wearable/20160623.120911 submit/tizen/20160622.031216
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

8 years agoRevise CMakeLists and spec file for sound_manager_test 41/74841/1 accepted/tizen/common/20160620.162520 accepted/tizen/common/20160707.172123 accepted/tizen/ivi/20160617.082458 accepted/tizen/mobile/20160617.082000 accepted/tizen/tv/20160617.082045 accepted/tizen/wearable/20160617.082145 submit/tizen/20160616.065630 submit/tizen/20160707.103558
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>
8 years agoAdd test case for radio stream in sound_manager_test 72/71572/1
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>
8 years agoFix SVACE defects 61/68261/1 accepted/tizen/common/20160504.125836 accepted/tizen/ivi/20160504.011127 accepted/tizen/mobile/20160504.011031 accepted/tizen/tv/20160504.011051 accepted/tizen/wearable/20160504.011114 submit/tizen/20160503.074218
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

8 years agoRevise description for route type 60/63860/3 accepted/tizen/common/20160405.132344 accepted/tizen/ivi/20160405.082039 accepted/tizen/mobile/20160405.081947 accepted/tizen/tv/20160405.082000 accepted/tizen/wearable/20160405.082020 submit/tizen/20160405.004055
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

8 years agoAdd condition not to check argument of focus callback in case of sound_manager_create... 28/63628/1 accepted/tizen/common/20160325.135731 accepted/tizen/ivi/20160325.072817 accepted/tizen/mobile/20160325.072647 accepted/tizen/tv/20160325.072721 accepted/tizen/wearable/20160325.072748 submit/tizen/20160325.051148
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>
8 years agoModify arguments name of some APIs for reducing length 62/63162/2 accepted/tizen/common/20160323.184547 accepted/tizen/ivi/20160323.140456 accepted/tizen/mobile/20160323.134706 accepted/tizen/tv/20160323.135224 accepted/tizen/wearable/20160323.134824 submit/tizen/20160323.041341
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

8 years agoReturn SOUND_MANAGER_ERROR_NOT_SUPPORTED enumerator when incoming stream type of... 59/62959/1 accepted/tizen/common/20160321.151129 accepted/tizen/ivi/20160322.002953 accepted/tizen/mobile/20160322.002905 accepted/tizen/tv/20160322.002919 accepted/tizen/wearable/20160322.002933 submit/tizen/20160321.102845
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

8 years agoReplace hardcoded include dir path with @INCLUDE_INSTALL_DIR@ in pc.in 93/62293/2 accepted/tizen/common/20160316.160205 accepted/tizen/ivi/20160315.124811 accepted/tizen/mobile/20160315.124710 accepted/tizen/tv/20160315.124730 accepted/tizen/wearable/20160315.124750 submit/tizen/20160315.102113
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

8 years agoImprove visibility of source codes 34/60534/5 accepted/tizen/common/20160304.195003 accepted/tizen/ivi/20160305.091429 accepted/tizen/mobile/20160305.091339 accepted/tizen/tv/20160305.091357 accepted/tizen/wearable/20160305.091412 submit/tizen/20160303.100043
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>
8 years agoAdd enumerator for Recorder API 34/60234/1 accepted/tizen/ivi/20160225.081150 accepted/tizen/mobile/20160225.081059 accepted/tizen/tv/20160225.081112 accepted/tizen/wearable/20160225.081133 submit/tizen/20160224.084622
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>
8 years agoAdd support for SOUND_STREAM_TYPE_SOLO by internal API 96/60196/4
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>
8 years agoUpdate sound_manager_doc.h for new 3.0 features 26/57226/8 accepted/tizen/ivi/20160218.023304 accepted/tizen/mobile/20160122.032126 accepted/tizen/tv/20160122.032320 accepted/tizen/wearable/20160122.032420 submit/tizen/20160120.093734 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
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>
8 years agoAdd usb device for testcase regarding adding device 60/57060/1 accepted/tizen/mobile/20160115.111155 accepted/tizen/tv/20160115.111211 accepted/tizen/wearable/20160115.111225 submit/tizen/20160115.023728
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

8 years agoAdd testcase for loopback and modify logs 17/56517/2 accepted/tizen/mobile/20160111.225822 accepted/tizen/tv/20160111.225851 accepted/tizen/wearable/20160111.225925 submit/tizen/20160111.093338
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

8 years agoAdd an internal stream type for ringback tone used by call 35/56135/1
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>
8 years agoAdd handling mutex codes for stream info handle created by internal API 77/56077/2
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

8 years agoAdd internal APIs for querying the reason for the current acquired focus(playback... 68/54168/5 accepted/tizen/mobile/20151221.100748 accepted/tizen/tv/20151221.100758 accepted/tizen/wearable/20151221.100840 submit/tizen/20151221.042414 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
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>
8 years agoAdd error case returning SOUND_MANAGER_ERROR_NO_DATA for sound_manager_get_sound_type API 82/54682/5 accepted/tizen/mobile/20151219.044030 accepted/tizen/tv/20151219.044458 accepted/tizen/wearable/20151219.044738 submit/tizen/20151218.084826
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>
8 years agoRemove libprivilege-control dependancy 18/54718/1 accepted/tizen/mobile/20151218.044322 accepted/tizen/tv/20151218.044255 accepted/tizen/wearable/20151218.044252 submit/tizen/20151218.015416
Seungbae Shin [Thu, 17 Dec 2015 10:44:51 +0000 (19:44 +0900)]
Remove libprivilege-control dependancy

Change-Id: I06bee140ea6d96b1d95df018ce94753a6b8d3d7f

8 years agoGet allocated device list and add deallocate interface 45/52245/9 accepted/tizen/mobile/20151209.132859 accepted/tizen/tv/20151209.132920 accepted/tizen/wearable/20151209.132945 submit/tizen/20151209.054020
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

8 years agoFix svace defects 16/53616/1 accepted/tizen/mobile/20151208.130106 accepted/tizen/tv/20151208.130127 accepted/tizen/wearable/20151208.130147 submit/tizen/20151208.091656
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>
8 years agoremove g_variant_iter_free on not allocated variable 98/53198/1 accepted/tizen/mobile/20151203.074640 accepted/tizen/tv/20151203.074654 accepted/tizen/wearable/20151203.074747 submit/tizen/20151203.021239
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

8 years agoAdd break logic for not-good state of virtual stream 61/53161/1
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

8 years agoAdd setting focus auto reacquirement api 05/51205/17 accepted/tizen/mobile/20151124.234155 accepted/tizen/tv/20151124.234205 accepted/tizen/wearable/20151124.234219 submit/tizen/20151124.091803 submit/tizen/20151124.092122
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>
8 years agoAdd STREAM_ROUTE_TYPE_AUTO_LAST_CONNECTED internal enumerator 90/52290/1 accepted/tizen/mobile/20151122.234425 accepted/tizen/tv/20151122.234443 accepted/tizen/wearable/20151122.234449 submit/tizen/20151120.114809
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

8 years agoRevise description - mention SOUND_STREAM_TYPE_MEDIA_EXTERNAL_ONLY to sound_manager_a... 06/51906/1 accepted/tizen/mobile/20151117.232052 accepted/tizen/tv/20151117.232109 accepted/tizen/wearable/20151117.232119 submit/tizen/20151117.073902
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>
8 years agoRevise description regarding focus callback 96/51496/2 accepted/tizen/mobile/20151111.044322 accepted/tizen/tv/20151111.044335 accepted/tizen/wearable/20151111.044350 submit/tizen/20151110.080903
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>
8 years agoSet vconf key when the dbus API for set volume succeed 60/51360/2 accepted/tizen/mobile/20151110.070552 accepted/tizen/tv/20151110.070623 accepted/tizen/wearable/20151110.070642 submit/tizen/20151110.050237
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>
8 years agoAdd APIs for master volume for internal usage 36/51236/4 accepted/tizen/mobile/20151107.080037 accepted/tizen/tv/20151107.080201 accepted/tizen/wearable/20151107.080400 submit/tizen/20151106.082107
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>
8 years agoReturn error if APIs related to focus are called in the same thread with focus callback's 89/51189/2 accepted/tizen/mobile/20151106.045845 accepted/tizen/tv/20151106.045856 accepted/tizen/wearable/20151106.045910 submit/tizen/20151105.120840
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

9 years agoAdd new API for getting the sound type of the stream info handle 75/50875/1
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>
9 years agoModify codes for complying Tizen coding rule 63/50763/5 accepted/tizen/mobile/20151103.024725 accepted/tizen/tv/20151103.024737 accepted/tizen/wearable/20151103.024750 submit/tizen/20151102.121151
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>
9 years agoSupport a new stream type that is only for external devices (SOUND_STREAM_TYPE_MEDIA_... 24/49124/5
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>
9 years agoFix codes to return valid error type in sound_manager_private.c 41/47141/3 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150901.002032 accepted/tizen/tv/20150901.002050 accepted/tizen/wearable/20150901.002101 submit/tizen/20150831.082013 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
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

9 years agoApply the virtual stream feature to voip session APIs internally 92/46992/3 accepted/tizen/mobile/20150829.025934 accepted/tizen/tv/20150829.030505 accepted/tizen/wearable/20150829.031304 submit/tizen/20150828.064758
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>
9 years agoModify breaking point in available stream information checking 88/45888/1 accepted/tizen/mobile/20150813.083544 accepted/tizen/tv/20150813.083602 accepted/tizen/wearable/20150813.083610 submit/tizen/20150812.103640 submit/tizen/20150813.040619
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>
9 years agoAdapt session interrupt callback to focus callback 29/44329/17
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>
9 years agoGet subscription id when add callback 25/45625/4 accepted/tizen/mobile/20150813.011848 accepted/tizen/tv/20150813.011904 accepted/tizen/wearable/20150813.011932 submit/tizen/20150810.104343 submit/tizen/20150811.051325 submit/tizen/20150812.065628
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>
9 years agoInform pulseaudio of the focus status that affects the routing 75/45575/3
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>
9 years agoCheck if manual device is set when starting virtual stream if the route type of the... 21/44921/2 accepted/tizen/mobile/20150730.074328 accepted/tizen/tv/20150730.074610 accepted/tizen/wearable/20150730.074810 submit/tizen/20150729.122952
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

9 years agoRevise internal code and description about error type 25/44025/2
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

9 years agoModify internal API for setting routing option 72/43872/2 accepted/tizen/mobile/20150717.002853 accepted/tizen/tv/20150717.002908 accepted/tizen/wearable/20150717.002922 submit/tizen/20150715.092047 submit/tizen/20150716.043920
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