platform/core/multimedia/libmm-sound.git
7 years agoRevise focus callback 70/117570/7 accepted/tizen/3.0/common/20170314.132356 accepted/tizen/3.0/ivi/20170314.081337 accepted/tizen/3.0/mobile/20170314.081003 accepted/tizen/3.0/tv/20170314.081124 accepted/tizen/3.0/wearable/20170314.081228 submit/tizen_3.0/20170308.033926
Seungbae Shin [Mon, 6 Mar 2017 12:11:54 +0000 (21:11 +0900)]
Revise focus callback

[Version] 0.10.96
[Profile] Common
[Issue Type] Enhancement

Change-Id: Ib48412bafd40116cf2a7177e1ca75d387b2bc5dd

7 years agoRevise focus callback context 32/116432/3 accepted/tizen/3.0/common/20170302.075649 accepted/tizen/3.0/ivi/20170302.034033 accepted/tizen/3.0/mobile/20170302.033906 accepted/tizen/3.0/tv/20170302.033952 accepted/tizen/3.0/wearable/20170302.034012 submit/tizen_3.0/20170228.000412
Sangchul Lee [Fri, 24 Feb 2017 08:39:21 +0000 (17:39 +0900)]
Revise focus callback context

Make new focus callback context for each focus handle

[Version] 0.10.95
[Profile] Common
[Issue Type] Enhancement

Change-Id: I4097198a18e0c0cab69e41a7c24bc227ee8fd21a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoSupport ogg loop playback 97/114497/5 accepted/tizen/3.0/common/20170215.121255 accepted/tizen/3.0/ivi/20170215.034232 accepted/tizen/3.0/mobile/20170215.033717 accepted/tizen/3.0/tv/20170215.033947 accepted/tizen/3.0/wearable/20170215.034103 submit/tizen_3.0/20170214.112531
Seungbae Shin [Mon, 13 Feb 2017 12:34:12 +0000 (21:34 +0900)]
Support ogg loop playback

[Version] 0.10.94
[Profile] Common
[Issue Type] Feature

Change-Id: I80fd9c6625387632160659260e322a3d96d2368e

7 years agoMerge patch for tone sound 07/113807/5
eonseok.lee [Thu, 9 Feb 2017 02:12:30 +0000 (11:12 +0900)]
Merge patch for tone sound
- Two stops for the same slot in toneplayer create issue
- tone play does not stop issue

[Model] tizen3.0
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] Two stops for the same slot in toneplayer create issue/tone
 10 play does not stop issue
[Cause & Measure] sound_stop is called two times with the same
 handle/start and stop is too fast
[Checking Method] N/A
[Team] MMFW
[Developer] eonseok.lee
[Solution company] Samsung
[Change Type] N/A

Change-Id: Icad5cffc69909c0e3b3834660bb4d72071df5204

7 years agoFix bug of converting voice sound_type to stream_type 35/114535/1
Seungbae Shin [Tue, 14 Feb 2017 02:13:02 +0000 (11:13 +0900)]
Fix bug of converting voice sound_type to stream_type

[Version] 0.10.93
[Profile] Common
[Issue Type] Bug

Change-Id: Ie2af4155ee05d691ec01d99df7b6a4e1c9a6e719

7 years agoRemove unnecessary global list of subscribed signal 30/113830/3 accepted/tizen/3.0/common/20170214.180613 accepted/tizen/3.0/ivi/20170214.042615 accepted/tizen/3.0/mobile/20170214.042528 accepted/tizen/3.0/tv/20170214.042545 accepted/tizen/3.0/wearable/20170214.042601 submit/tizen_3.0/20170213.103000
Seungbae Shin [Thu, 9 Feb 2017 04:51:27 +0000 (13:51 +0900)]
Remove unnecessary global list of subscribed signal

[Version] 0.10.92
[Profile] Common
[Issue Type] Clean up

Change-Id: Id5a72c723e8cc3f438c08d3bc9b855cb56832c63

7 years agoRemove useless parameters(route_info, priority) regarding audio path routing since... 98/112898/2 accepted/tizen/3.0/common/20170213.160907 accepted/tizen/3.0/ivi/20170213.035337 accepted/tizen/3.0/mobile/20170213.035234 accepted/tizen/3.0/tv/20170213.035300 accepted/tizen/3.0/wearable/20170213.035324 submit/tizen_3.0/20170210.094941
Sangchul Lee [Fri, 3 Feb 2017 07:14:30 +0000 (16:14 +0900)]
Remove useless parameters(route_info, priority) regarding audio path routing since Tizen 3.0

[Version] 0.10.91
[Profile] Common
[Issue Type] Clean up

Change-Id: Ifdce998ae0ac6b32cdb4f1df681161ab11bf6cc4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoDo not invoke user callback if it is not supported type in _dbus_signal_callback() 73/113773/2
Sangchul Lee [Thu, 9 Feb 2017 01:18:15 +0000 (10:18 +0900)]
Do not invoke user callback if it is not supported type in _dbus_signal_callback()

[Version] 0.10.90
[Profile] Common
[Issue Type] Bug fix

Change-Id: I65fb532ea958195fda3f5b47497a4a6fe4dc8ee2
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoDivide logic to invoke some focus functions within main context 45/113645/4
Sangchul Lee [Wed, 8 Feb 2017 05:29:50 +0000 (14:29 +0900)]
Divide logic to invoke some focus functions within main context

This is applied to mm_sound_unset_focus_watch_callback()/mm_sound_unregister_focus()

[Version] 0.10.89
[Profile] Common
[Issue Type] Enhancement

Change-Id: I19dc2cc6b4b980c4d02efbc69ef7c35dd1cd21b7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoGenerate /tmp/.sound_server_ready as well as /tmp/.focus_server_ready for compatibility 50/112750/3 accepted/tizen/3.0/common/20170203.150916 accepted/tizen/3.0/ivi/20170203.090340 accepted/tizen/3.0/mobile/20170203.090134 accepted/tizen/3.0/tv/20170203.090238 accepted/tizen/3.0/wearable/20170203.090311 submit/tizen_3.0/20170202.094603
Seungbae Shin [Thu, 2 Feb 2017 11:54:10 +0000 (20:54 +0900)]
Generate /tmp/.sound_server_ready as well as /tmp/.focus_server_ready for compatibility

[Version] 0.10.88
[Profile] Common
[Issue Type] Dependancy

Change-Id: I20ed19b4282bb2e94fd1c24de8b50469b2728354

7 years agoEnable focus_server_ready for all profile. 86/112686/4
Seungbae Shin [Thu, 2 Feb 2017 07:35:48 +0000 (16:35 +0900)]
Enable focus_server_ready for all profile.

[Version] 0.10.87
[Profile] Common
[Issue Type] Dependancy

Change-Id: Id993f545ee49779d4e60c1246be1246b3a596b0b

7 years agosound-server: Enable session backward compatibility and fix codes to pass session... 85/112685/2
Sangchul Lee [Thu, 2 Feb 2017 07:29:07 +0000 (16:29 +0900)]
sound-server: Enable session backward compatibility and fix codes to pass session option to MMSoundMgrCodecPlay()

[Version] 0.10.86
[Profile] Common
[Issue Type] Bug fix

Change-Id: I6342be16fc11fb24e1b715ab60b8c523951e7497
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFix memory leak (sound-server) : valgrind 69/112569/2
Seungbae Shin [Wed, 1 Feb 2017 12:36:02 +0000 (21:36 +0900)]
Fix memory leak (sound-server) : valgrind

[Version] 0.10.85
[Profile] Common
[Issue Type] Memory Leak

Change-Id: I0dd98fd197947fd3f482260c787455da50efb585

7 years agoFix memory leak : valgrind 86/112386/7 accepted/tizen/3.0/common/20170202.151059 accepted/tizen/3.0/ivi/20170202.085717 accepted/tizen/3.0/mobile/20170202.085634 accepted/tizen/3.0/tv/20170202.085646 accepted/tizen/3.0/wearable/20170202.085700 submit/tizen_3.0/20170201.113021
Seungbae Shin [Tue, 31 Jan 2017 14:10:48 +0000 (23:10 +0900)]
Fix memory leak : valgrind

[Version] 0.10.85
[Profile] Common
[Issue Type] Memory Leak

Change-Id: I1d5878e0517741ea1b5176dd634010c9680ac820

7 years agoAdd protection code for focus-callback creation 45/110645/3 accepted/tizen/3.0/common/20170124.081313 accepted/tizen/3.0/ivi/20170124.042417 accepted/tizen/3.0/mobile/20170124.042250 accepted/tizen/3.0/tv/20170124.042320 accepted/tizen/3.0/wearable/20170124.042349 submit/tizen_3.0/20170123.123302
Seungbae Shin [Tue, 17 Jan 2017 09:06:35 +0000 (18:06 +0900)]
Add protection code for focus-callback creation

[Version] 0.10.84
[Profile] Common
[Issue Type] Debug

Change-Id: Ib91e9fca348bae24b6bd446236d91eef25c96506

7 years agoDo not refresh taken id if acquire focus block by policy 78/111578/1
Wu Nannan [Fri, 20 Jan 2017 09:23:55 +0000 (17:23 +0800)]
Do not refresh taken id if acquire focus block by policy

[Version] 0.10.83
[Profile] Common
[Issue Type] Bug fix
[Problem] music not resume after ringtone call end , if request play during ringtone

Change-Id: I42f2c0b49ab7992d5e541243eacf940b1b5c8401

7 years agoFix bug regarding roll-back scenario of focus reacquisition setting, revise some... 54/110354/2 accepted/tizen/3.0/common/20170118.130829 accepted/tizen/3.0/ivi/20170118.042800 accepted/tizen/3.0/mobile/20170118.042711 accepted/tizen/3.0/tv/20170118.042723 accepted/tizen/3.0/wearable/20170118.042740 submit/tizen_3.0/20170116.094232
Sangchul Lee [Mon, 16 Jan 2017 05:03:57 +0000 (14:03 +0900)]
Fix bug regarding roll-back scenario of focus reacquisition setting, revise some coding conventions and add more logs

[Version] 0.10.82
[Profile] Common
[Issue Type] Bug fix and add log

Change-Id: I025c21b2ba89b2ed778737fb1aff65a8940a0dc7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agofocus-server: Enhancement for session backward compatibility regarding unregistering... 39/110239/1
Sangchul Lee [Fri, 13 Jan 2017 09:02:48 +0000 (18:02 +0900)]
focus-server: Enhancement for session backward compatibility regarding unregistering focus node

Exclude a node for session backward compatibility from the focus callback in case of unregistering without focus releasing.
Forward is_session value when unregistering focus node.

[Version] 0.10.81
[Profile] Common
[Issue Type] Bug fix

Change-Id: I64a0e82f67a7735166d791eeff613ad604f9b15e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agofocus-server: Call focus callbacks in case of destroying focus node with acquisition... 04/109604/2 submit/tizen_3.0/20170112.101943
Sangchul Lee [Tue, 10 Jan 2017 06:07:14 +0000 (15:07 +0900)]
focus-server: Call focus callbacks in case of destroying focus node with acquisition status

[Version] 0.10.80
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Iada33c749a33bc8a2e06d4b4925d4f67511ad737
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agofocus-server: Initialize taken id information regardless of the node condition in... 10/108910/1 accepted/tizen/3.0/common/20170109.195755 accepted/tizen/3.0/ivi/20170109.003423 accepted/tizen/3.0/mobile/20170109.003337 accepted/tizen/3.0/tv/20170109.003357 accepted/tizen/3.0/wearable/20170109.003408 submit/tizen_3.0/20170106.062231
Sangchul Lee [Fri, 6 Jan 2017 07:15:33 +0000 (16:15 +0900)]
focus-server: Initialize taken id information regardless of the node condition in case of acquiring focus request

[Version] 0.10.79
[Profile] Common
[Issue Type] Bug fix

Change-Id: If43b89b773effac18ea7afe60c4d9f1fef3500c9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agofix SVACE issue, dbus method call logging & indentation 66/99166/5
Hyunseok Lee [Tue, 22 Nov 2016 05:40:08 +0000 (14:40 +0900)]
fix SVACE issue, dbus method call logging & indentation

[Version] 0.10.78
[Profile] Common
[Issue Type] cleaun up

Change-Id: I177ff49b0dcf3f0f0dede65afae60618160746fb

7 years agoGet both-direction device when mask is both 88/107488/1 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.125343 accepted/tizen/3.0.m2/tv/20170104.125623 accepted/tizen/3.0.m2/wearable/20170104.125835 accepted/tizen/3.0/common/20161228.162146 accepted/tizen/3.0/ivi/20161228.091221 accepted/tizen/3.0/mobile/20161228.091120 accepted/tizen/3.0/tv/20161228.091137 accepted/tizen/3.0/wearable/20161228.091159 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20161227.051124
Jeongho Mok [Wed, 28 Dec 2016 07:51:21 +0000 (16:51 +0900)]
Get both-direction device when mask is both

[Version] 0.10.77
[Profile] Common
[Issue Type] bug fix

Change-Id: Id9773c05048a6480d472cc3cf5d11f12654c8c61

7 years agoAvoid deadlock in focus watch callback handler in case of calling to unset the callba... 28/107128/1
Sangchul Lee [Mon, 26 Dec 2016 23:09:37 +0000 (08:09 +0900)]
Avoid deadlock in focus watch callback handler in case of calling to unset the callback simultaneously

[Version] 0.10.76
[Profile] Common
[Issue Type] bug fix

Change-Id: I930395ec8db85489f40735da862c9ea6df365e9c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFix memory leak due to missing unref on returned g_variant value 72/106772/2
Seungbae Shin [Fri, 23 Dec 2016 03:44:17 +0000 (12:44 +0900)]
Fix memory leak due to missing unref on returned g_variant value

revise some improper log level prints

[Version] 0.10.75
[Profile] Common
[Issue Type] KONA

Change-Id: I199b15b37b38010a62d5a1cec957a9e9af6b1ab8

7 years agolock when get global device list 50/106050/1 accepted/tizen/3.0/common/20161221.180751 accepted/tizen/3.0/ivi/20161221.005606 accepted/tizen/3.0/mobile/20161221.005659 accepted/tizen/3.0/tv/20161221.005500 accepted/tizen/3.0/wearable/20161221.005541 submit/tizen_3.0/20161219.120436
Jeongho Mok [Tue, 20 Dec 2016 08:41:49 +0000 (17:41 +0900)]
lock when get global device list

[Version] 0.10.74
[Profile] Common
[Issue Type] Enhancement

Change-Id: I50f78969a6227bb3a8424b0350c09e5304e0a606

7 years agoChange condition check handle_id to pid 24/105924/1
howon kim [Tue, 20 Dec 2016 05:02:20 +0000 (14:02 +0900)]
Change condition check handle_id to pid

[Version] 0.10.73
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I225abce2d2d2f442efed69d6c3cbbb3558f6c691
Signed-off-by: howon kim <howon.kim@samsung.com>
7 years agoFix callback to be invoked when focus is released after reacqusition is disabled 27/105827/1
Seungbae Shin [Mon, 19 Dec 2016 14:51:49 +0000 (23:51 +0900)]
Fix callback to be invoked when focus is released after reacqusition is disabled

[Version] 0.10.72
[Profile] Common
[Issue Type] PLM

Change-Id: I00246f64eb30d9e5305f99da3beb23fcdd3c3eb0

7 years agoModify device enum 00/105800/1
Jeongho Mok [Mon, 19 Dec 2016 12:30:11 +0000 (21:30 +0900)]
Modify device enum

[Version] 0.10.71
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I48da5119ed60172403f02e30b26e918c5158e75f

7 years agoDisable signal hander in focus-server 90/105490/1
Seungbae Shin [Sat, 17 Dec 2016 08:00:09 +0000 (17:00 +0900)]
Disable signal hander in focus-server

[Version] 0.10.71
[Profile] Common
[Issue Type] KONA

Change-Id: I92f448941d102bd8b3dedd9e561a4b6586843444

7 years agostream is on device 59/104159/4 accepted/tizen/3.0/common/20161215.162945 accepted/tizen/3.0/ivi/20161215.043853 accepted/tizen/3.0/mobile/20161215.043654 accepted/tizen/3.0/tv/20161215.043749 accepted/tizen/3.0/wearable/20161215.043806 submit/tizen_3.0/20161213.132802 submit/tizen_3.0/20161214.084609
Jeongho Mok [Fri, 9 Dec 2016 11:29:20 +0000 (20:29 +0900)]
stream is on device

[Version] 0.10.70
[Profile] Common
[Issue Type] API

Change-Id: I80c2f9d4cd1d66b3e443822919aeb21073f3552b

7 years agoCheck my node with is_for_session parameter 97/102597/1 accepted/tizen/3.0/common/20161213.163709 accepted/tizen/3.0/ivi/20161213.024757 accepted/tizen/3.0/mobile/20161213.024721 accepted/tizen/3.0/tv/20161213.024736 accepted/tizen/3.0/wearable/20161213.024743 submit/tizen_3.0/20161212.092815
Sangchul Lee [Tue, 6 Dec 2016 06:13:03 +0000 (15:13 +0900)]
Check my node with is_for_session parameter

An error can occur when registering a focus node via sound-manager
if there already exists a node with the same index of the same process.
Because a node which is requested by sound-manager uses pulseaudio context id
whereas an internal focus node for session backward compatibility uses index
counted by focus_server itself.
This patch distinguishes both cases and ensures normal operation in this case.

[Version] 0.10.69
[Profile] Common
[Issue Type] Bug fix

Change-Id: Icbc9ec96940ea42bdb5cafa8d849f5cd767cc03c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoChange set/unset cb to add/remove cb, and add device_state_changed cb 96/101596/3 accepted/tizen/3.0/common/20161207.194504 accepted/tizen/3.0/ivi/20161207.011912 accepted/tizen/3.0/mobile/20161207.011513 accepted/tizen/3.0/tv/20161207.011705 accepted/tizen/3.0/wearable/20161207.011806 submit/tizen_3.0/20161206.052949
Jeongho Mok [Thu, 1 Dec 2016 13:16:15 +0000 (22:16 +0900)]
Change set/unset cb to add/remove cb, and add device_state_changed cb

[Version] 0.10.68
[Profile] Common
[Issue Type] API

Change-Id: I5202165e2efa2e1631982c7f68f4a37f897dbfdd

7 years agoDivide bluetooth device type to a2dp and sco, and remove avail_mode 76/101176/2
Jeongho Mok [Mon, 28 Nov 2016 14:26:15 +0000 (23:26 +0900)]
Divide bluetooth device type to a2dp and sco, and remove avail_mode

[Version] 0.10.67
[Profile] Common
[Issue Type] API

Change-Id: I862ce17e657292d08a52d707b818b4c27d06edbb

7 years agoFix svace defects 57/100957/4
Sangchul Lee [Wed, 30 Nov 2016 02:29:59 +0000 (11:29 +0900)]
Fix svace defects

[Version] 0.10.66
[Profile] Common
[Issue Type] Svace

Change-Id: Ie3b63ca87a0c02e526c47059199348986b48f787
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoRemove unnecessary cap_dac_override 24/100824/1
Seungbae Shin [Tue, 29 Nov 2016 09:43:51 +0000 (18:43 +0900)]
Remove unnecessary cap_dac_override

[Version] 0.10.65
[Profile] Common
[Issue Type] Security

Change-Id: I374376cd4c44002bdd5b2d746801e08dddbb4876

7 years agoAdd ringtone volume type for keysound playback 78/100678/1 accepted/tizen/3.0/common/20161130.064940 accepted/tizen/3.0/ivi/20161130.011817 accepted/tizen/3.0/mobile/20161130.011602 accepted/tizen/3.0/tv/20161130.011653 accepted/tizen/3.0/wearable/20161130.011731 submit/tizen_3.0/20161129.051721
Sangchul Lee [Tue, 29 Nov 2016 02:43:32 +0000 (11:43 +0900)]
Add ringtone volume type for keysound playback

[Version] 0.10.64
[Profile] Common
[Issue Type] Bug

Change-Id: I05574dcace9181d81110167bde8d4286af1b7444

7 years agoAdd mm_sound_get_device_list api 31/99531/5
Jeongho Mok [Wed, 23 Nov 2016 07:18:35 +0000 (16:18 +0900)]
Add mm_sound_get_device_list api

[Version] 0.10.63
[Profile] Common
[Issue Type] API

Change-Id: I89df97fb55463e6adb204790bc6e101a72840dea

7 years agoFix memory crash when handling sigterm during process exit 75/98675/1 accepted/tizen/3.0/common/20161123.140750 accepted/tizen/3.0/ivi/20161123.083648 accepted/tizen/3.0/mobile/20161123.083400 accepted/tizen/3.0/tv/20161123.083506 accepted/tizen/3.0/wearable/20161123.083601 submit/tizen_3.0/20161122.043110
Seungbae Shin [Thu, 17 Nov 2016 06:04:28 +0000 (15:04 +0900)]
Fix memory crash when handling sigterm during process exit

[Version] 0.10.62
[Profile] Common
[Issue Type] KONA

Change-Id: I5456a955e840fcde0fa1d0fc4b26f65b17c7e8a5

7 years agoEvent name of sound server ready is changed to /tmp/.sound_server_ready 65/98665/1
Jungsup Lee [Fri, 18 Nov 2016 06:20:00 +0000 (15:20 +0900)]
Event name of sound server ready is changed to /tmp/.sound_server_ready

[Version] 0.10.61
[Profile] TV
[Issue Type] Change requirement

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: I8e3ad634274e103bced1ee4e674acccbac00811d

7 years agoMatch both direction device with direction in or out mask 46/96746/1
Jeongho Mok [Mon, 7 Nov 2016 08:06:57 +0000 (17:06 +0900)]
Match both direction device with direction in or out mask

[Version] 0.10.60
[Profile] Common
[Issue Type] Policy

Change-Id: I4b89bb676c0e1f3acf299d7effb04e9610f83e51

7 years agoAdd checking callback condition when finding index by node id 81/93181/2 accepted/tizen/3.0/common/20161114.105809 accepted/tizen/3.0/ivi/20161028.134019 accepted/tizen/3.0/mobile/20161028.133128 accepted/tizen/3.0/tv/20161028.133431 accepted/tizen/3.0/wearable/20161028.133737 accepted/tizen/common/20161024.135143 accepted/tizen/ivi/20161026.053959 accepted/tizen/mobile/20161026.053913 accepted/tizen/tv/20161026.053926 accepted/tizen/wearable/20161026.053941 submit/tizen/20161024.082842 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
Sangchul Lee [Fri, 21 Oct 2016 00:25:31 +0000 (09:25 +0900)]
Add checking callback condition when finding index by node id

The id of focus node and watch node can be same, unintended index can be get.
Now it is fixed by adding a condition.

[Version] 0.10.59
[Profile] Common
[Issue Type] Fix bug

Change-Id: Ie9e7b61767e93c4ace5afb01840d2ad4efd15bc4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoUse a proper pid according to value of is_for_session when registering a focus handle 24/92724/1 accepted/tizen/common/20161018.175309 accepted/tizen/ivi/20161018.235408 accepted/tizen/mobile/20161018.235400 accepted/tizen/tv/20161018.235405 accepted/tizen/wearable/20161018.235357 submit/tizen/20161018.101931
Sangchul Lee [Tue, 18 Oct 2016 08:24:39 +0000 (17:24 +0900)]
Use a proper pid according to value of is_for_session when registering a focus handle

It is related to the previous patch named "Get pid from the client for session related focus interface".

[Version] 0.10.58
[Profile] Common
[Issue Type] Fix bug

Change-Id: Iaa50189dd53cae5942b3a8b78d0170a42081ab71
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoAdd null check before strncmp() in _mm_sound_mgr_focus_get_priority_from_stream_type 65/91865/1 accepted/tizen/common/20161017.170254 submit/tizen/20161017.064448
Sangchul Lee [Wed, 12 Oct 2016 02:46:39 +0000 (11:46 +0900)]
Add null check before strncmp() in _mm_sound_mgr_focus_get_priority_from_stream_type

[Version] 0.10.57
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Id7eff3de2807efc6936ef873bfa87a3e58c3d339

7 years agoavail-mode for bt 70/86570/11 accepted/tizen/3.0/ivi/20161011.044334 accepted/tizen/3.0/mobile/20161015.033548 accepted/tizen/3.0/tv/20161016.005002 accepted/tizen/3.0/wearable/20161015.083234 accepted/tizen/common/20160928.163959 accepted/tizen/ivi/20160930.040801 accepted/tizen/mobile/20160930.040447 accepted/tizen/tv/20160930.040610 accepted/tizen/wearable/20160930.040706 submit/tizen/20160928.043825 submit/tizen_3.0_ivi/20161010.000003 submit/tizen_3.0_mobile/20161015.000003 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003
Mok Jeongho [Thu, 1 Sep 2016 10:34:43 +0000 (19:34 +0900)]
avail-mode for bt

[Version] 0.10.56
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Ifc1bb52dab42b81cbf8a55b46ef5fb2a111904e6

7 years agoFix bug - add to use client pid in case of is_for_session is true for watch focus 77/88877/1 accepted/tizen/common/20160921.162229 accepted/tizen/ivi/20160922.042631 accepted/tizen/mobile/20160922.042356 accepted/tizen/tv/20160922.042504 accepted/tizen/wearable/20160922.042549 submit/tizen/20160921.041639
Sangchul Lee [Wed, 21 Sep 2016 04:39:43 +0000 (13:39 +0900)]
Fix bug - add to use client pid in case of is_for_session is true for watch focus

[Version] 0.10.55
[Profile] Common
[Issue Type] bug fix

Change-Id: Ieedef5e0ef04996e6b1ca5832e1af61a6cf39a76

7 years agoRemove build dependency of capi-network-bluetooth and iniparser which are not used 49/88849/2
Sangchul Lee [Wed, 21 Sep 2016 02:28:58 +0000 (11:28 +0900)]
Remove build dependency of capi-network-bluetooth and iniparser which are not used

[Version] 0.10.54
[Profile] Common
[Issue Type] clean up

Change-Id: Ib4f289701ca6b44bd1187254ff8cbb22925adba1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoRemove duplicated files 10/88710/1
Sangchul Lee [Tue, 20 Sep 2016 09:24:12 +0000 (18:24 +0900)]
Remove duplicated files

[Version] 0.10.53
[Profile] Common
[Issue Type] clean up

Change-Id: I82695a30ca97403e07a4c98e5f954a0d6eb0b6df
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoAdd new functions to acquire/release focus with option 07/81707/7
Sangchul Lee [Thu, 28 Jul 2016 04:12:47 +0000 (13:12 +0900)]
Add new functions to acquire/release focus with option

 - mm_sound_acquire_focus_with_option()
 - mm_sound_release_focus_with_option()
 - rename additional_info to ext_info
 - add a new parameter to mm_sound_focus_changed_cb() and mm_sound_mgr_focus_get_stream_type_of_acquired_focus()

[Version] 0.10.52
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: I92664847e51cab8612b272e8bdca450be38fb24f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoModify branching regarding USE_FOCUS definition 27/87927/3
Sangchul Lee [Mon, 12 Sep 2016 07:01:22 +0000 (16:01 +0900)]
Modify branching regarding USE_FOCUS definition

[Version] 0.10.51
[Profile] Common
[Issue Type] CleanUp

Change-Id: I1b483d8ffad036e2f887d64a1001330905ee7d36

7 years agoRemove useless CONTAINER code 15/87415/2
Seungbae Shin [Thu, 8 Sep 2016 01:30:35 +0000 (10:30 +0900)]
Remove useless CONTAINER code

[Version] 0.10.50
[Profile] Common
[Issue Type] CleanUp

Change-Id: Ie628971ce5f5c124163eece30ec3ede6e0afe54b

7 years agoFix build error for TV product 11/87211/3 accepted/tizen/common/20160907.154714 accepted/tizen/ivi/20160908.044210 accepted/tizen/mobile/20160908.043652 accepted/tizen/tv/20160908.043952 accepted/tizen/wearable/20160908.044104 submit/tizen/20160907.074000
Jungsup Lee [Wed, 7 Sep 2016 04:58:55 +0000 (13:58 +0900)]
Fix build error for TV product

[Version] 0.10.49
[Profile] TV
[Issue Type] Bug fix

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: Icc15e511efc522c9929fa4788cb428f83e8402af

7 years agoChange keysound IPC (dbus -> pipe) 38/86838/1
Sangchul Lee [Mon, 5 Sep 2016 07:03:39 +0000 (16:03 +0900)]
Change keysound IPC (dbus -> pipe)

[Version] 0.10.48
[Profile] Common
[Issue Type] Performance

Change-Id: Ic285d8a3d7a681947d2499dff6e5af442f25da11
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoKeep updating focus handle in case of failure due to the time-out from client and... 54/85954/2 accepted/tizen/common/20160831.162152 accepted/tizen/ivi/20160901.065318 accepted/tizen/mobile/20160901.065109 accepted/tizen/tv/20160901.065152 accepted/tizen/wearable/20160901.065223 submit/tizen/20160831.052250
Sangchul Lee [Tue, 30 Aug 2016 01:11:39 +0000 (10:11 +0900)]
Keep updating focus handle in case of failure due to the time-out from client and revise logs

[Version] 0.10.47
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: I3d14e3a088080cbc3b2f577814b6deed1353c040
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoOnDemand sound-server 13/81013/13
Seungbae Shin [Tue, 23 Aug 2016 06:04:53 +0000 (15:04 +0900)]
OnDemand sound-server

1. Split focus_server code from sound_server (go back to original)
2. Modifiy service files (sound-server systemd service will not be exists)
3. Add dbus activation service file (org.tizen.SoundServer.service) for sound-server
4. Shutdown sound-server if no use (check every 10 seconds....)
5. Move boot semaphore and  pa_ready / sound_server_ready handling code to focus_server
6. Modifications for coding rules
7. Fix creat() fd leak
8. Apply lwipc code to mm_sound_focus_server.c

Change-Id: I946ddf504541a4839056fc6a412ae9d5eb2b9a34

7 years agoApplying light weight ipc 88/84488/1 accepted/tizen/common/20160824.154807 accepted/tizen/ivi/20160825.050431 accepted/tizen/mobile/20160825.050250 accepted/tizen/tv/20160825.050334 accepted/tizen/wearable/20160825.050354 submit/tizen/20160824.052737
Jungsup Lee [Fri, 19 Aug 2016 04:11:28 +0000 (13:11 +0900)]
Applying light weight ipc

Replace create ready file to create event with lwipc

[Version] 0.10.46
[Profile] TV
[Issue Type] Enhancement

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: I378acb5f86bf93cc53d48f950bee4e69c14d0505

7 years agoRemove keytone plugin 48/72448/5 accepted/tizen/common/20160818.144423 accepted/tizen/ivi/20160818.231833 accepted/tizen/mobile/20160818.231705 accepted/tizen/tv/20160818.231804 accepted/tizen/wearable/20160818.231723 submit/tizen/20160818.052348
Seungbae Shin [Wed, 1 Jun 2016 05:40:51 +0000 (14:40 +0900)]
Remove keytone plugin

1. Request from mm_sound_play_keysound() is handled by module-sound-player currently.
2. Handling hw keytone event will be done at module-hw-keysound (newly added)

[Version] Release 0.10.45
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: Id70e9065b14defd473183bc424a6a1fce70d8bcd

7 years agoEnhance focus reacquisition 98/80598/8
Sangchul Lee [Tue, 19 Jul 2016 04:42:54 +0000 (13:42 +0900)]
Enhance focus reacquisition

Now, it is possible to set the reacquisition value to true or false in any time including in focus state callback.
Also if user set it to true from false, all related information will be rolled back.

[Version] Release 0.10.44
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: I39a3a5ecfd6770a5f6007095072e10767a73cc14
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoSet the SMACK security label to run given executable file in systemd services 71/80871/1 accepted/tizen/common/20160721.175830 accepted/tizen/ivi/20160721.090755 accepted/tizen/mobile/20160721.090605 accepted/tizen/tv/20160721.091322 accepted/tizen/wearable/20160721.091034 submit/tizen/20160721.003054
jooseong lee [Wed, 20 Jul 2016 11:54:21 +0000 (20:54 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: Ia97b28813681a13f390701e489b6888037e75aaa
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoRemove faultable unref 66/80066/1 accepted/tizen/common/20160714.153623 accepted/tizen/ivi/20160715.074626 accepted/tizen/mobile/20160715.074533 accepted/tizen/tv/20160715.074548 accepted/tizen/wearable/20160715.074606 submit/tizen/20160714.110625
Sangchul Lee [Thu, 14 Jul 2016 09:27:20 +0000 (18:27 +0900)]
Remove faultable unref

[Version] Release 0.10.43
[Profile] Common
[Issue Type] Bug fix

Change-Id: I1c28dfc19ecfb2ed9803a39c6c8ef7e1ad12db6e

7 years agoFix SVACE defects (remove dead code) 16/79616/2 accepted/tizen/common/20160712.151247 accepted/tizen/ivi/20160712.091048 accepted/tizen/mobile/20160712.091118 accepted/tizen/tv/20160712.091039 accepted/tizen/wearable/20160712.091059 submit/tizen/20160712.061810
Seungbae Shin [Tue, 12 Jul 2016 04:54:44 +0000 (13:54 +0900)]
Fix SVACE defects (remove dead code)

[Version] Release 0.10.42
[Profile] Common
[Issue Type] Security

Change-Id: I36ded7a566487cc19219759ab52fde269cb5fcd5

7 years agoFix SVACE defects 03/79103/1 accepted/tizen/common/20160708.140919 accepted/tizen/ivi/20160708.092118 accepted/tizen/mobile/20160708.092059 accepted/tizen/tv/20160708.092110 accepted/tizen/wearable/20160708.092043 submit/tizen/20160708.074703
Seungbae Shin [Fri, 8 Jul 2016 07:37:33 +0000 (16:37 +0900)]
Fix SVACE defects

[Version] Release 0.10.41
[Profile] Common
[Issue Type] Security

Change-Id: I2bbf00da90a291a493bcecf4cf81043067b0ae55

7 years agoModify creation/removal of pipes for focus watch callback 57/77757/2 accepted/tizen/common/20160704.145312 accepted/tizen/ivi/20160704.090629 accepted/tizen/mobile/20160704.090537 accepted/tizen/tv/20160704.090517 accepted/tizen/wearable/20160704.090412 submit/tizen/20160704.004002
Sangchul Lee [Fri, 1 Jul 2016 03:12:49 +0000 (12:12 +0900)]
Modify creation/removal of pipes for focus watch callback

[Version] Release 0.10.40
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: I24bf88b902f3bb2b84febd8568d064b8e1acb752
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFix memory leak 56/77456/5 accepted/tizen/common/20160703.130554 accepted/tizen/ivi/20160701.033305 accepted/tizen/mobile/20160701.033436 accepted/tizen/tv/20160701.033114 accepted/tizen/wearable/20160701.033150 submit/tizen/20160630.084032 submit/tizen_common/20160701.180000
Sangchul Lee [Thu, 30 Jun 2016 01:29:40 +0000 (10:29 +0900)]
Fix memory leak
 - Used '&s' for string that does not need to free instead of 's' for argument of g_variant_get() in mm_sound_mgr_focus_dbus.c
 - Added omitted g_error_free() for err variable in mm_sound_dbus.c

[Version] Release 0.10.39
[Profile] Common
[Issue Type] Memory leak
[JIRA] TSAM-5489

Change-Id: I8d936a5729303f099b0a84d4e5d18899df1c5e7a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoRemove cap_mac_override from spec 11/77211/1 accepted/tizen/common/20160703.130304 accepted/tizen/ivi/20160630.063336 accepted/tizen/mobile/20160630.063400 accepted/tizen/tv/20160630.063319 accepted/tizen/wearable/20160630.063258 submit/tizen/20160630.022953
Seungbae Shin [Wed, 29 Jun 2016 05:41:18 +0000 (14:41 +0900)]
Remove cap_mac_override from spec

[Version] Release 0.10.38
[Profile] All
[Issue Type] Security

Change-Id: I18259361a7c0ac5b4143de83ad454cd54d90dd61

7 years agoReplace daemon name (sound-sever => focus-server) 03/76703/5
Seungbae Shin [Mon, 27 Jun 2016 03:52:49 +0000 (12:52 +0900)]
Replace daemon name (sound-sever => focus-server)

: remove unused ogg files
: remove improper use of g_variant_iter_free()

Following previous commits are in series.
- Disable internal focus integration
- Merge focus-server with sound-server

[Version] Release 0.10.37
[Profile] Common
[Issue Type] Memory Optimization

Change-Id: Id31ad0aaba843d30f5e54572c304af50beacaa17

7 years agoDisable internal focus integration 67/76567/2
Seungbae Shin [Fri, 24 Jun 2016 07:22:58 +0000 (16:22 +0900)]
Disable internal focus integration

Change-Id: I8609a353f2ffd2952753e1e18131d5fd2bf8a9e9

7 years agoMerge focus-server with sound-server 79/76379/3
Seungbae Shin [Thu, 23 Jun 2016 13:46:20 +0000 (22:46 +0900)]
Merge focus-server with sound-server

Change-Id: Ibd9cc463e24166071d12e3404f09e17e1b5b861e

7 years ago[TV] Fixed build feature TIZEN_PRODUCT_TV 14/76814/2 accepted/tizen/common/20160629.222255 accepted/tizen/ivi/20160628.014823 accepted/tizen/mobile/20160628.014836 accepted/tizen/tv/20160628.014810 accepted/tizen/wearable/20160628.014840 submit/tizen/20160627.103151
Seonmi Jin [Mon, 27 Jun 2016 10:14:20 +0000 (19:14 +0900)]
[TV] Fixed build feature TIZEN_PRODUCT_TV

[Version] Release 0.10.37
[Profile] TV

Change-Id: Ibf867ff54864cc6c53c1ea183b366f380649c3e5
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
7 years agoAdd loop argument for mm_sound_play_sound_with_stream_info() 93/74593/4 accepted/tizen/common/20160620.162527 accepted/tizen/ivi/20160617.082507 accepted/tizen/mobile/20160617.081957 accepted/tizen/tv/20160617.082052 accepted/tizen/wearable/20160617.082144 submit/tizen/20160616.065630
Sangchul Lee [Wed, 15 Jun 2016 01:36:48 +0000 (10:36 +0900)]
Add loop argument for mm_sound_play_sound_with_stream_info()

[Version] Release 0.10.36
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: I9e07defc23bc6a79fccab655618f9617f14e43b7

7 years agoFix SVACE defects 99/74499/1
Seungbae Shin [Tue, 14 Jun 2016 10:47:50 +0000 (19:47 +0900)]
Fix SVACE defects

[Version] Release 0.10.35
[Profile] Common
[Issue Type] Security

Change-Id: Ib629a75aecac65ece6ef0225ee32f78812fc6df3

7 years agoAdd a mutex for new critical section related to g_focus_sound_handle array 54/72654/4 accepted/tizen/common/20160608.160156 accepted/tizen/ivi/20160608.084321 accepted/tizen/mobile/20160608.084343 accepted/tizen/tv/20160608.084310 accepted/tizen/wearable/20160608.084331 submit/tizen/20160608.023054
Sangchul Lee [Thu, 2 Jun 2016 03:59:42 +0000 (12:59 +0900)]
Add a mutex for new critical section related to g_focus_sound_handle array

Since we use a global array for handling focus handles, there could be a fault if user calls those APIs within several threads.
Now it is fixed by defining new critical session related to the g_focus_sound_handle array.

[Version] Release 0.10.34
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: Ie50d1e220d8c5ea5d41211b614ca376edf2250b6

7 years ago[TV] Build fix: add sound_server.ready 22/70922/1 accepted/tizen/common/20160525.155333 accepted/tizen/common/20160526.145831 accepted/tizen/ivi/20160524.004616 accepted/tizen/ivi/20160602.020551 accepted/tizen/mobile/20160524.004544 accepted/tizen/mobile/20160602.020428 accepted/tizen/tv/20160524.004557 accepted/tizen/tv/20160602.020526 accepted/tizen/wearable/20160524.004542 accepted/tizen/wearable/20160602.020505 submit/tizen/20160523.093551 submit/tizen/20160524.060031
Seonmi Jin [Mon, 23 May 2016 08:35:29 +0000 (17:35 +0900)]
[TV] Build fix: add sound_server.ready

[Version] Release 0.10.33
[Profile] TV
[Issue Type] Build fix

Change-Id: I97ff955ffe39d42837f775a90921a9e8c6ada931
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
7 years ago[TV] Add configuration --enable-prelink 55/70055/2
Seonmi Jin [Wed, 18 May 2016 01:43:47 +0000 (10:43 +0900)]
[TV] Add configuration --enable-prelink

if !USE_PRELINK
CFLAGS += -fPIC -pie

[Version] Release 0.10.32
[Profile] TV
[Issue Type] Code merge

Change-Id: I144fb51a99628943f6614b8fc2c0f89f95fbcb1b
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agoUse empty string instead of NULL in mm_sound_proxy_acquire[release]_focus() 18/69818/2 accepted/tizen/common/20160517.174340 accepted/tizen/ivi/20160518.004307 accepted/tizen/mobile/20160518.004428 accepted/tizen/tv/20160518.004318 accepted/tizen/wearable/20160518.004257 submit/tizen/20160517.090545
Sangchul Lee [Tue, 17 May 2016 02:37:49 +0000 (11:37 +0900)]
Use empty string instead of NULL in mm_sound_proxy_acquire[release]_focus()

[Version] Release 0.10.31
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: Idb2a2ed64013f16cb2587c2991f57565186e12b0

8 years agoUse empty string instead of NULL in convert_volume_gain_type_to_string() 30/69430/1 accepted/tizen/common/20160513.123805 accepted/tizen/ivi/20160515.064224 accepted/tizen/mobile/20160515.063846 accepted/tizen/tv/20160515.064046 accepted/tizen/wearable/20160515.064112 submit/tizen/20160513.082755
Sangchul Lee [Fri, 13 May 2016 07:13:05 +0000 (16:13 +0900)]
Use empty string instead of NULL in convert_volume_gain_type_to_string()
Modify logs for mm_sound_stop_sound()

[Version] Release 0.10.30
[Profile] Common
[Issue Type] Bug fix

Change-Id: I705f55ada3d42dc20cbc78f463102cc9390f4e35

8 years agoRemove AF gain related workaround code and opt path in example doxygen 87/68287/1 accepted/tizen/common/20160505.140915 accepted/tizen/ivi/20160506.035829 accepted/tizen/mobile/20160506.035309 accepted/tizen/tv/20160506.035607 accepted/tizen/wearable/20160506.035716 submit/tizen/20160504.093918
Seungbae Shin [Tue, 3 May 2016 08:24:17 +0000 (17:24 +0900)]
Remove AF gain related workaround code and opt path in example doxygen

[Version] Release 0.10.29
[Profile] Common
[Issue Type] Cleanup

Change-Id: Id738d9062ed2cb58d1c139277b7cd3985792ebc3

8 years agoFix SVACE defects 74/68274/2
Mok Jeongho [Tue, 3 May 2016 07:32:07 +0000 (16:32 +0900)]
Fix SVACE defects

[Version] Release 0.10.28
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: I75f6c7f194a17b77ac15f23e2c3c754bd94d0c03

8 years ago[TV] Modified service files for TV profile, create sound_server.ready 09/64909/3 accepted/tizen/common/20160504.125023 accepted/tizen/ivi/20160503.011426 accepted/tizen/mobile/20160503.011324 accepted/tizen/tv/20160503.011350 accepted/tizen/wearable/20160503.011407 submit/tizen/20160502.101731
Seonmi Jin [Wed, 6 Apr 2016 06:39:42 +0000 (15:39 +0900)]
[TV] Modified service files for TV profile, create sound_server.ready

[Version] Release 0.10.27
[Profile] TV
[Issue Type] Code merge

Change-Id: I79676946cbd9bf627cf8ea8f76e2d9ad6da66c9a
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agoChange UID/GID of services 22/66822/3 accepted/tizen/common/20160427.054007 accepted/tizen/ivi/20160427.080339 accepted/tizen/mobile/20160427.080341 accepted/tizen/tv/20160427.080319 accepted/tizen/wearable/20160427.080329 submit/tizen/20160427.023237
Mok Jeongho [Thu, 21 Apr 2016 08:07:43 +0000 (17:07 +0900)]
Change UID/GID of services

[Version] Release 0.10.26
[Profile] Common
[Issue Type] Security

Change-Id: I94f66b0c6f870c9749614562f80472dbd5f50980

8 years agoRemove unused warning 50/66150/3 accepted/tizen/common/20160426.143038 accepted/tizen/ivi/20160425.231740 accepted/tizen/mobile/20160425.231718 accepted/tizen/tv/20160425.231735 accepted/tizen/wearable/20160425.231727 submit/tizen/20160425.080416
Seungbae Shin [Fri, 15 Apr 2016 11:04:13 +0000 (20:04 +0900)]
Remove unused warning

[Version] 0.10.25
[Profile] Common
[Issue Type] Warnings

Change-Id: I0010623ee2642229c8f5df1f2a387094ce6b559a

8 years agoBroadcast subscribing and callback handling 55/65455/9 accepted/tizen/common/20160419.143052 accepted/tizen/ivi/20160418.235733 accepted/tizen/mobile/20160418.235720 accepted/tizen/tv/20160418.235728 accepted/tizen/wearable/20160418.235715 submit/tizen/20160418.103710
Mok Jeongho [Thu, 3 Mar 2016 01:36:14 +0000 (10:36 +0900)]
Broadcast subscribing and callback handling

[Version] Release 0.10.24
[Profile] Common
[Issue Type] Add Feature

Change-Id: I5a877e92f44f771fbc2fb860b307dadf2496a324

8 years agoRemove unused functions 90/63290/4 accepted/tizen/common/20160413.130816 accepted/tizen/ivi/20160413.082724 accepted/tizen/mobile/20160413.073203 accepted/tizen/tv/20160413.075506 accepted/tizen/wearable/20160413.080504 submit/tizen/20160412.065641
Seungbae Shin [Wed, 23 Mar 2016 05:31:08 +0000 (14:31 +0900)]
Remove unused functions

- mm_sound_pa_cork()
- mm_sound_pa_get_latency()
- mm_sound_pa_corkall()

[Version] Release 0.10.23
[Profile] Common
[Issue Type] CleanUp

Change-Id: I3bcf4cdc2c863f820f97febe116bc9fdfdb2328e

8 years agoRemove vconftool dependancy 08/64208/5
Seungbae Shin [Wed, 30 Mar 2016 11:59:04 +0000 (20:59 +0900)]
Remove vconftool dependancy

[Version] Release 0.10.22
[Profile] Common
[Issue #] RQ160326-00073, RQ160326-00074
[Issue Type] Dependancy

Change-Id: Id127458cb1d8eb559295663221c455cff4a9d3df

8 years agolibmm-sound: Included header file to resolve warnings 54/65454/2
aravind.gara [Mon, 11 Apr 2016 04:55:36 +0000 (13:55 +0900)]
libmm-sound: Included header file to resolve warnings

[Version] 0.10.21
[Profile] Common
[Issue Type] Warnings

Change-Id: I95c7c7a1523e22f1725f0d0549543ba41e66d854
Signed-off-by: aravind.gara <aravind.gara@samsung.com>
8 years agoRemove unused include statement 69/64269/1 accepted/tizen/common/20160401.075629 accepted/tizen/ivi/20160405.011211 accepted/tizen/mobile/20160405.011122 accepted/tizen/tv/20160405.011131 accepted/tizen/wearable/20160405.011152 submit/tizen/20160401.030705
Mok Jeongho [Thu, 31 Mar 2016 04:59:43 +0000 (13:59 +0900)]
Remove unused include statement

[Version] Release 0.10.20
[Profile] Common
[Issue Type] Cleanup

Change-Id: I315401c40a7857b4ad9e4d2f3b39b5bedfdabaab

8 years agoFix SVACE - unref only if not null 87/63887/2
Mok Jeongho [Mon, 28 Mar 2016 04:40:03 +0000 (13:40 +0900)]
Fix SVACE - unref only if not null

[Version] Release 0.10.19
[Profile] Common
[Issue Type] SVACE

Change-Id: Ie705b9ac8fbec38416d024136928cdf535b37c6c

8 years agoReturn MM_ERROR_NOT_SUPPORT_API enumerator when incoming stream type is not defined... 31/62931/2 accepted/tizen/common/20160321.151056 accepted/tizen/ivi/20160322.002844 accepted/tizen/mobile/20160322.002759 accepted/tizen/tv/20160322.002809 accepted/tizen/wearable/20160322.002826 submit/tizen/20160321.102819
Sangchul Lee [Mon, 21 Mar 2016 06:26:19 +0000 (15:26 +0900)]
Return MM_ERROR_NOT_SUPPORT_API enumerator when incoming stream type is not defined on this target

[Version] Release 0.10.18
[Profile] Common
[Issue Type] Bug fix

Change-Id: Ie88c97f68c5a1ec396388cfdac8d93a43db40670

8 years agoPrint error name when open failed 05/62705/2 accepted/tizen/common/20160318.150232 accepted/tizen/ivi/20160321.004713 accepted/tizen/mobile/20160321.004628 accepted/tizen/tv/20160321.004640 accepted/tizen/wearable/20160321.004701 submit/tizen/20160318.085637
Mok Jeongho [Thu, 17 Mar 2016 13:02:10 +0000 (22:02 +0900)]
Print error name when open failed

[Version] Release 0.10.17
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: I5a4f8d6134cef4fa5247df862af6b26f5795b572

8 years agoPrint error message when g_bus_get_sync failed 03/62703/2
Mok Jeongho [Thu, 17 Mar 2016 12:56:44 +0000 (21:56 +0900)]
Print error message when g_bus_get_sync failed

[Version] Release 0.10.16
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: I9253ed4e69659213a09874171b5f95aa5e871f1d

8 years agoReplace strerror with strerror_r 98/62698/1 accepted/tizen/ivi/20160318.113754 accepted/tizen/mobile/20160318.113551 accepted/tizen/tv/20160318.113648 accepted/tizen/wearable/20160318.113628 submit/tizen/20160317.125504
Mok Jeongho [Thu, 17 Mar 2016 05:30:11 +0000 (14:30 +0900)]
Replace strerror with strerror_r

[Version] Release 0.10.15
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: Ibc3a3fb458947e9871ef713cf797726794232271

8 years agoFix build warnings 51/62451/2 accepted/tizen/common/20160317.155811 accepted/tizen/ivi/20160318.112134 accepted/tizen/mobile/20160318.111317 accepted/tizen/tv/20160318.111640 accepted/tizen/wearable/20160318.111743 submit/tizen/20160316.082059
Mok Jeongho [Wed, 16 Mar 2016 04:28:03 +0000 (13:28 +0900)]
Fix build warnings

[Version] Release 0.10.14
[Profile] Common
[Issue Type] Fix Warning

Change-Id: Ib2ab191cb12530bae101c7435cda96d1c9d38a78

8 years agoFix for SVACE defects 14/61614/1 accepted/tizen/common/20160310.081656 accepted/tizen/ivi/20160310.060720 accepted/tizen/mobile/20160310.060620 accepted/tizen/tv/20160310.060640 accepted/tizen/wearable/20160310.060701 submit/tizen/20160309.082619
Seungbae Shin [Wed, 9 Mar 2016 07:28:03 +0000 (16:28 +0900)]
Fix for SVACE defects

[Version] Release 0.10.13
[Profile] Common
[Issue Type] Bug Fix

Change-Id: Ib1365c434bbbe53c0706a833b206181598bdadea

8 years agoEmit emergent_exit signal only when needed 13/61513/1 accepted/tizen/common/20160310.070807 accepted/tizen/ivi/20160309.005954 accepted/tizen/mobile/20160309.005859 accepted/tizen/tv/20160309.005914 accepted/tizen/wearable/20160309.005934 submit/tizen/20160308.101649
Mok Jeongho [Tue, 8 Mar 2016 09:59:05 +0000 (18:59 +0900)]
Emit emergent_exit signal only when needed

[Version] Release 0.10.12
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I4f0be70c401b09f34ff0fbad285b164e520e05be

8 years agoReturn permission denied error when vconf failed with that cause 20/61120/1 accepted/tizen/ivi/20160305.093615 accepted/tizen/mobile/20160305.093523 accepted/tizen/tv/20160305.093540 accepted/tizen/wearable/20160305.093554 submit/tizen/20160304.060227
Mok Jeongho [Fri, 4 Mar 2016 05:50:34 +0000 (14:50 +0900)]
Return permission denied error when vconf failed with that cause

[Version] Release 0.10.11
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I5ddfe2a132de3f71f18571eef6abd92abf183d00

8 years agoFix svace issues 65/60965/1 accepted/tizen/ivi/20160305.090951 accepted/tizen/mobile/20160305.090858 accepted/tizen/tv/20160305.090921 accepted/tizen/wearable/20160305.090934 submit/tizen/20160303.074921
Sangchul Lee [Thu, 3 Mar 2016 06:48:52 +0000 (15:48 +0900)]
Fix svace issues

[Version] Release 0.10.10
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I9986ad9cec56fc4cdb9cbcba8d60a028a0bcee24

8 years agoChange emergent exit from method call to signal 19/60419/4
Mok Jeongho [Fri, 26 Feb 2016 05:40:27 +0000 (14:40 +0900)]
Change emergent exit from method call to signal

[Version] Release 0.10.9
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Ie3e528a1def32cc77e492a277e9e446b8574e5bc

8 years agoDbus logic/layer/interface enhancements 82/60182/7
Mok Jeongho [Mon, 22 Feb 2016 05:25:37 +0000 (14:25 +0900)]
Dbus logic/layer/interface enhancements

- Remove msgq related / unused codes
- Add mm_sound_intf.h for audio framework internal interface
- Divide dbus related code into mm_sound_dbus.c,
  and provide general interface
- Change file name from 'mm_sound_client_dbus.c' to 'mm_sound_proxy.c'
  complying with its role
- Change 'emergent exit' to signal of client
- Remove duplicated code
- Add device_flag check logic in device-callback
- Deallocate internal userdata when unsubscribe

Change-Id: I6cb8eaa0089a288ba4d1068dcfb55ab87c3dfb8a

8 years agoRevice codes of _dbus_signal_callback() 52/56452/1 accepted/tizen/ivi/20160218.023937 accepted/tizen/mobile/20160108.115954 accepted/tizen/tv/20160108.113641 accepted/tizen/wearable/20160108.113821 submit/tizen/20160108.084951 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Sangchul Lee [Fri, 8 Jan 2016 06:09:15 +0000 (15:09 +0900)]
Revice codes of _dbus_signal_callback()

Specify bit composition of the value argument.
Write session information for backward compatibility that would be used by frameworks on daemon(e.g., muse-server).

[Version] Release 0.10.7
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Id9d82d2ddd022d4eabd1ab565bc121b28b8db4fb

8 years agoAdd mm_sound_subscribe_signal_for_daemon() for use case of daemon and remove mm_sound... 88/56288/2 accepted/tizen/mobile/20160108.005754 accepted/tizen/tv/20160108.005819 accepted/tizen/wearable/20160108.005844 submit/tizen/20160106.062219 submit/tizen/20160107.035508 submit/tizen/20160107.103013
Sangchul Lee [Wed, 6 Jan 2016 04:45:43 +0000 (13:45 +0900)]
Add mm_sound_subscribe_signal_for_daemon() for use case of daemon and remove mm_sound_get_active_device()

[Version] Release 0.10.6
[Profile] Common
[Issue Type] Feature enhancement and remove a deprecated API

Change-Id: Idb85bc5505d4d66db711665128b7db7e8a90e6fe
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agoRemove deprecated/unused functions 86/56086/6 submit/tizen/20160105.074549
Seungbae Shin [Mon, 4 Jan 2016 01:40:05 +0000 (10:40 +0900)]
Remove deprecated/unused functions

[Version] Release 0.10.5
[Profile] Common
[Issue Type] Cleanup

Change-Id: If364fa1e5b4301fd95f30d24225e5de6c33f2dbf