platform/core/multimedia/pulseaudio-modules-tizen.git
7 years agoEnhance pcm dump, add prefix for bt routing option, use explicit route-type condition 08/120008/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.172554 accepted/tizen/ivi/20170329.222742 accepted/tizen/mobile/20170329.222547 accepted/tizen/tv/20170329.222654 accepted/tizen/unified/20170329.222802 accepted/tizen/wearable/20170329.222718 submit/tizen/20170329.121135
Hyunseok Lee [Tue, 10 Jan 2017 00:57:29 +0000 (09:57 +0900)]
Enhance pcm dump, add prefix for bt routing option, use explicit route-type condition

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

Change-Id: Ic2b20daf32062c600b4052f4ed0bdfcd2efdd77e

7 years agoMerge branch 'tizen_3.0' into tizen 60/121060/1
Sangchul Lee [Mon, 27 Mar 2017 06:02:41 +0000 (15:02 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I10dfccceab6e57579b95d2f332d29521d273cb1c

7 years agostream-manager: Update routing path even if requested device list is empty in case... 90/120290/3 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170330.125002 accepted/tizen/3.0/ivi/20170329.223033 accepted/tizen/3.0/mobile/20170329.222934 accepted/tizen/3.0/tv/20170329.222952 accepted/tizen/3.0/wearable/20170329.223014 submit/tizen_3.0/20170329.043647
Sangchul Lee [Wed, 22 Mar 2017 07:32:49 +0000 (16:32 +0900)]
stream-manager: Update routing path even if requested device list is empty in case of manual routing type

In case of manual routing, some conditions are changed to trigger to update routing path
even if requested device list is empty that means to remove previous one with same direction.
This can be executed only if it is occupied stream.

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

Change-Id: I6bc5450910fb73d4b727e84946b539eaa88494b8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Skip updating focus status for solo stream during the most important... 68/120068/5
Sangchul Lee [Tue, 21 Mar 2017 08:28:26 +0000 (17:28 +0900)]
stream-manager: Skip updating focus status for solo stream during the most important stream type is occupied

This patch can avoid changing the current audio routing path
if it is important when a solo stream is coming in.

[Version] 5.0.141
[Profile] Common
[Issue Type] Defence code

Change-Id: I3d8dafe42f075aebc25401ba359d03815a05d145
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 35/119335/1
Seungbae Shin [Thu, 16 Mar 2017 10:34:04 +0000 (19:34 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I3f208ea9782cce148c98fe687be2b3d46d493bb3

7 years agostream-manager: Add conditions to skip streams that are not running and not linked 67/119267/1
Sangchul Lee [Thu, 16 Mar 2017 07:01:58 +0000 (16:01 +0900)]
stream-manager: Add conditions to skip streams that are not running and not linked

Add conditions in update_the_highest_priority_stream() to skip streams not running
and not linked. Unsetting PA_PROP_MEDIA_ROLE_PRIORITY from a stream that can cause
unwanted behavior is also removed.

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

Change-Id: I2eecac7d4ea358705dd4be0273b2ba7128c354ae
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Add new DBus method to update stream's focus status by using focus id 56/118756/1 accepted/tizen/3.0/common/20170320.130340 accepted/tizen/3.0/ivi/20170320.080324 accepted/tizen/3.0/mobile/20170320.074735 accepted/tizen/3.0/tv/20170320.075813 accepted/tizen/3.0/wearable/20170320.080109 submit/tizen_3.0/20170317.034449
Sangchul Lee [Tue, 14 Mar 2017 03:39:38 +0000 (12:39 +0900)]
stream-manager: Add new DBus method to update stream's focus status by using focus id

It can be invoked by other frameworks that require to update the focus status of pulseaudio stream.
Note that it is added as a part of session backward compatibility.

[Version] 5.0.139
[Profile] Common
[Issue Type] New API

Change-Id: I3d83dbf4626e0eda541dfdfc4bb52b9a87f8ae5a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Exclude bt-a2dp among available devices of incoming stream during... 60/118560/9
Sangchul Lee [Mon, 13 Mar 2017 06:40:03 +0000 (15:40 +0900)]
stream-manager: Exclude bt-a2dp among available devices of incoming stream during communication stream is activated

If bt-sco is used by communication stream, other streams can not go with bt-a2dp due to the limitation of bluetooth.
We exclude bt-a2dp device type from available devices of a stream, therefore the stream can be mixed together
by using another device.

[Version] 5.0.138
[Profile] Common
[Issue Type] Exception

Change-Id: I809cf50a7d8c283e5a82b2894f8f2ca70ff0ab4d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Update active device information to streams which will go through... 15/118315/1
Sangchul Lee [Fri, 10 Mar 2017 03:42:21 +0000 (12:42 +0900)]
stream-manager: Update active device information to streams which will go through the newly connected external device

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

Change-Id: I6e0108de96dd78ff973d67b8fd5dee491ce3e0dc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 14/116914/1 accepted/tizen/common/20170303.090732 accepted/tizen/ivi/20170303.004805 accepted/tizen/mobile/20170303.004718 accepted/tizen/tv/20170303.004740 accepted/tizen/unified/20170309.033450 accepted/tizen/wearable/20170303.004750 submit/tizen/20170302.115149 submit/tizen_unified/20170308.100408
Seungbae Shin [Thu, 2 Mar 2017 03:48:23 +0000 (12:48 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Icdaf25d45bef58787e18607ab38a29ba49701c57

7 years agostream-manager: Revise decision condition which stream should be muted 87/116087/4 accepted/tizen/3.0/common/20170302.075700 accepted/tizen/3.0/ivi/20170302.034035 accepted/tizen/3.0/mobile/20170302.033917 accepted/tizen/3.0/tv/20170302.033954 accepted/tizen/3.0/wearable/20170302.034014 submit/tizen_3.0/20170223.055304 submit/tizen_3.0/20170228.000412
Sangchul Lee [Thu, 23 Feb 2017 00:27:27 +0000 (09:27 +0900)]
stream-manager: Revise decision condition which stream should be muted

If a stream that has an active device type same as the current disconnecting device type, it'll be choosen for muting/unmuting target.

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

Change-Id: I8f686206217f8cafbdf706a6d2904faec1d03bc1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Revise implemenation of handle_get_current_volume_type() 35/115635/4
Sangchul Lee [Fri, 17 Feb 2017 09:48:33 +0000 (18:48 +0900)]
stream-manager: Revise implemenation of handle_get_current_volume_type()

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

Change-Id: I37c1d5311882b6efafd02b4933073ffbc49ae549
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Mute streams only belong to the disconnected device 07/115307/2
Sangchul Lee [Fri, 17 Feb 2017 08:43:48 +0000 (17:43 +0900)]
stream-manager: Mute streams only belong to the disconnected device

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

Change-Id: Ied92ed02e515c99778fd10504876189f66b3dcc7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 22/114322/1 accepted/tizen/common/20170214.173955 accepted/tizen/ivi/20170214.230412 accepted/tizen/mobile/20170214.230345 accepted/tizen/tv/20170214.230353 accepted/tizen/wearable/20170214.230403 submit/tizen/20170214.125635
Seungbae Shin [Mon, 13 Feb 2017 04:12:28 +0000 (13:12 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ie1fcaec67fbf69719738a564e2b632fdb1ab7762

7 years agostream-manager: Include ringbacktone-call stream role to ROLE_COMMUNICATION 96/114196/1
Sangchul Lee [Fri, 10 Feb 2017 08:30:11 +0000 (17:30 +0900)]
stream-manager: Include ringbacktone-call stream role to ROLE_COMMUNICATION

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

Change-Id: Ia7d2d3776476287246e01e1bd835f871be2bd1b6
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Check null value 43/114143/2 accepted/tizen/3.0/common/20170213.160814 accepted/tizen/3.0/ivi/20170213.035333 accepted/tizen/3.0/mobile/20170213.035208 accepted/tizen/3.0/tv/20170213.035254 accepted/tizen/3.0/wearable/20170213.035319 submit/tizen_3.0/20170210.094941
howon kim [Fri, 10 Feb 2017 07:00:30 +0000 (16:00 +0900)]
stream-manager: Check null value

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

Change-Id: If4968335d0af6655f8fcd25e57806835a7d38377
Signed-off-by: howon kim <howon.kim@samsung.com>
7 years agostream-manager: Fix wrong stream type when calling set_volume_mute_by_idx() 86/114086/2
Sangchul Lee [Fri, 10 Feb 2017 02:44:18 +0000 (11:44 +0900)]
stream-manager: Fix wrong stream type when calling set_volume_mute_by_idx()

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

Change-Id: I30f6a5a53c267a678ddda3c3399ec20d535dfe4f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoCheck new data ptr 71/114071/1
eonseok.lee [Fri, 10 Feb 2017 01:59:31 +0000 (10:59 +0900)]
Check new data ptr

[Model] tizen3.0
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] need to check input parameter
[Cause & Measure] add pa_assert
[Checking Method] N/A

[Team] MMFW
[Developer] eonseok.lee
[Solution company] Samsung
[Change Type] N/A

Change-Id: Id187f5b2d31c35536059c0acb0a588acfaf427ee

7 years agoFix SVACE defects 50/113950/1
Seungbae Shin [Thu, 9 Feb 2017 10:32:06 +0000 (19:32 +0900)]
Fix SVACE defects

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

Change-Id: Ie5d6760f1fc27b07fb3e82a6a1586841267feb3e

7 years agoMerge branch 'tizen_3.0' into tizen 12/112712/1 accepted/tizen/common/20170203.161614 accepted/tizen/ivi/20170203.023101 accepted/tizen/mobile/20170203.023002 accepted/tizen/tv/20170203.023032 accepted/tizen/wearable/20170203.023048 submit/tizen/20170202.111238
Seungbae Shin [Thu, 2 Feb 2017 09:43:50 +0000 (18:43 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ic6a55956bff752cffb3b295748b06dc36e1dcfef

7 years agoFix sound leakage for a short time after handling power-off signal 40/112640/1 tizen_3.0_tv accepted/tizen/3.0/common/20170203.150902 accepted/tizen/3.0/ivi/20170203.090337 accepted/tizen/3.0/mobile/20170203.090125 accepted/tizen/3.0/tv/20170203.090234 accepted/tizen/3.0/wearable/20170203.090307 submit/tizen_3.0/20170202.094603
Hyunseok Lee [Thu, 2 Feb 2017 05:28:50 +0000 (14:28 +0900)]
Fix sound leakage for a short time after handling power-off signal

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

Change-Id: I5c38ef8bded06fc93b3c2be9f86b558f806cdf9b

7 years agoFix invalid power-off operation by parsing state value properly 80/111880/2 accepted/tizen/3.0/common/20170125.121747 accepted/tizen/3.0/ivi/20170125.083959 accepted/tizen/3.0/mobile/20170125.083859 accepted/tizen/3.0/tv/20170125.083926 accepted/tizen/3.0/wearable/20170125.083948 submit/tizen_3.0/20170124.120400
Seungbae Shin [Tue, 24 Jan 2017 11:45:13 +0000 (20:45 +0900)]
Fix invalid power-off operation by parsing state value properly

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

Change-Id: Ieb7ab369483e66971fb7ae19b1b063e2bb1274ed

7 years agostream-manager: A stream of manual route type should acquire focus to ensure its... 32/110832/1 accepted/tizen/common/20170123.182445 accepted/tizen/ivi/20170125.085024 accepted/tizen/mobile/20170125.084910 accepted/tizen/tv/20170125.084931 accepted/tizen/wearable/20170125.084956 submit/tizen/20170123.131118
Sangchul Lee [Tue, 17 Jan 2017 08:00:25 +0000 (17:00 +0900)]
stream-manager: A stream of manual route type should acquire focus to ensure its own routing path

Previously, a stream of manual route type takes priority over streams of other route type even if they have focus.
Now it is changed that the manual route type stream should get focus to ensure its routing path.

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

Change-Id: Ib03469019e95b1938a99b9ec64049096c9982755
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit a3bb5c3f1f76430654cd1cdd6feeb46f720c7313)

7 years agostream-manager: A stream of manual route type should acquire focus to ensure its... 27/110627/4 accepted/tizen/3.0/common/20170120.102420 accepted/tizen/3.0/ivi/20170120.073218 accepted/tizen/3.0/mobile/20170120.073131 accepted/tizen/3.0/tv/20170120.073143 accepted/tizen/3.0/wearable/20170120.073203 submit/tizen_3.0/20170120.012439
Sangchul Lee [Tue, 17 Jan 2017 08:00:25 +0000 (17:00 +0900)]
stream-manager: A stream of manual route type should acquire focus to ensure its own routing path

Previously, a stream of manual route type takes priority over streams of other route type even if they have focus.
Now it is changed that the manual route type stream should get focus to ensure its routing path.

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

Change-Id: Ib03469019e95b1938a99b9ec64049096c9982755
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Check streams including requesting one to update the next highest... 06/110806/1
Sangchul Lee [Tue, 17 Jan 2017 04:35:50 +0000 (13:35 +0900)]
stream-manager: Check streams including requesting one to update the next highest priority stream in case of focus status updated

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

Change-Id: I1988c47fdfee09a64f177095a5bc3066b2c20358
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 177df11921da7310328f5f8202866984c64a57e2)

7 years agostream-manager: Check streams including requesting one to update the next highest... 61/110561/1
Sangchul Lee [Tue, 17 Jan 2017 04:35:50 +0000 (13:35 +0900)]
stream-manager: Check streams including requesting one to update the next highest priority stream in case of focus status updated

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

Change-Id: I1988c47fdfee09a64f177095a5bc3066b2c20358
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 82/110382/1
Seungbae Shin [Mon, 16 Jan 2017 07:34:15 +0000 (16:34 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ic0e9d773162a5a286fb731f38247367a88ed1016

7 years agostream-manager: Further modification to enhance codes regarding add/remove volume... 06/110206/4 accepted/tizen/3.0/common/20170118.130833 accepted/tizen/3.0/ivi/20170118.042802 accepted/tizen/3.0/mobile/20170118.042716 accepted/tizen/3.0/tv/20170118.042725 accepted/tizen/3.0/wearable/20170118.042742 submit/tizen_3.0/20170116.094232
Sangchul Lee [Fri, 13 Jan 2017 07:50:11 +0000 (16:50 +0900)]
stream-manager: Further modification to enhance codes regarding add/remove volume factor to streams

Excluded streams of auto-all and manual-ext type from the policy due to no need to be handled.
Timed mannaer adopted to remove volume factor forcedly.

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

Change-Id: Id87c58f91f25d3cb8c14de8a0342b4801f51ce2e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoUse pa_safe_streq instead of pa_streq in subscribe-observer 73/109973/1 accepted/tizen/3.0/common/20170116.122205 accepted/tizen/3.0/ivi/20170116.064848 accepted/tizen/3.0/mobile/20170116.064735 accepted/tizen/3.0/tv/20170116.064759 accepted/tizen/3.0/wearable/20170116.064824 submit/tizen_3.0/20170112.101943 submit/tizen_3.0/20170113.075529
Seungbae Shin [Thu, 12 Jan 2017 10:16:53 +0000 (19:16 +0900)]
Use pa_safe_streq instead of pa_streq in subscribe-observer

[Version] 5.0.124
[Profile] Common
[Issue Type] SVACE

Change-Id: Idab8b9861331562a3fd77b00f8841fdbc70bc2ed

7 years agodevice-manager: Add API for unload sink/source with device_string 59/109759/5
Jeongho Mok [Tue, 10 Jan 2017 03:44:56 +0000 (12:44 +0900)]
device-manager: Add API for unload sink/source with device_string

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

Change-Id: I31d6779c88d21ffbe86b2ebb913feaecfee0175d

7 years agostream-manager: Enhance codes regarding add/remove volume factor to streams in case... 17/109917/3
Sangchul Lee [Thu, 12 Jan 2017 07:30:18 +0000 (16:30 +0900)]
stream-manager: Enhance codes regarding add/remove volume factor to streams in case of device disconnection

[Version] 5.0.124
[Profile] Common
[Issue Type] Error tolerance

Change-Id: Ib557d33081a57e68dca9ffdf1fe07c3dc9cc3637
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 80/109180/1 accepted/tizen/common/20170109.202638 accepted/tizen/ivi/20170110.080656 accepted/tizen/mobile/20170110.080537 accepted/tizen/tv/20170110.080614 accepted/tizen/wearable/20170110.080636 submit/tizen/20170109.130136
Seungbae Shin [Mon, 9 Jan 2017 06:36:42 +0000 (15:36 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Id6c98c2ff8c462d7ab06140e880d2ed50e2cdc7f

7 years agostream-manager: Fix bug in source-output hooks 63/109163/2
Hyunseok Lee [Mon, 9 Jan 2017 05:40:45 +0000 (14:40 +0900)]
stream-manager: Fix bug in source-output hooks

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

Change-Id: I35289a5bdf604f0d2b41de9ad951d9de0ed81329

7 years agoMerge branch 'tizen_3.0' into tizen 87/108887/1
Seungbae Shin [Fri, 6 Jan 2017 06:30:03 +0000 (15:30 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I1a3a94da73419b7d01aae8c5dc185e0861a328a4

7 years agoGet BT SCO device for call-video stream 05/108405/4 accepted/tizen/3.0/common/20170109.195800 accepted/tizen/3.0/ivi/20170109.003425 accepted/tizen/3.0/mobile/20170109.003332 accepted/tizen/3.0/tv/20170109.003359 accepted/tizen/3.0/wearable/20170109.003409 submit/tizen_3.0/20170106.062231
Hyunseok Lee [Wed, 4 Jan 2017 07:57:07 +0000 (16:57 +0900)]
Get BT SCO device for call-video stream

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

Change-Id: Ica5d3c3534c192b0bd0cca07e6d9babc9bdf2249

7 years agoEnable to use prebuf configuration as -1. 58/108458/3
KimJeongYeon [Thu, 8 Dec 2016 01:39:11 +0000 (10:39 +0900)]
Enable to use prebuf configuration as -1.

[Version] 5.0.121
[Profile] Common
[Issue Type] Improves

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ia70798290f7ca6d07f61986b5d28e5c72ba2aae5

7 years agodevice-manager: Fix bug when load sink, and add unload_sink API 03/108403/5
Jeongho Mok [Tue, 3 Jan 2017 04:17:05 +0000 (13:17 +0900)]
device-manager: Fix bug when load sink, and add unload_sink API

[Version] 5.0.120
[Profile] Common
[Issue Type] Clean Up

Change-Id: I1c2ea08c8d71b9e38f1df0dbdbf8e4e0300392ad

7 years agostream-manager: Set focus state to acquired forcedly in case of solo series stream 58/108358/2
Sangchul Lee [Wed, 4 Jan 2017 05:57:03 +0000 (14:57 +0900)]
stream-manager: Set focus state to acquired forcedly in case of solo series stream

Stream roles like solo are important to secure their own routing path even though
they do not acquire a focus. This patch updates focus state forcedly in this case.

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

Change-Id: I30c677e8eeec5cd8471b5bba33582def78e07688
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 64/107664/1 accepted/tizen/common/20161229.140259 accepted/tizen/ivi/20161229.233616 accepted/tizen/mobile/20161229.233515 accepted/tizen/tv/20161229.233534 accepted/tizen/wearable/20161229.233556 submit/tizen/20161229.100658
Seungbae Shin [Thu, 29 Dec 2016 06:13:36 +0000 (15:13 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I6a228140822f744b6d681cff66797d5c435802bf

7 years agoRemove unused sink/source state hook slots 28/107628/1
Hyunseok Lee [Thu, 29 Dec 2016 02:27:54 +0000 (11:27 +0900)]
Remove unused sink/source state hook slots

[Version] 5.0.118
[Profile] Common
[Issue Type] Clean Up

Change-Id: I8b79b8c68e990935116c5919876c227f873f55f4

7 years agoFix undefined symbol error 23/107523/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.125428 accepted/tizen/3.0.m2/tv/20170104.125640 accepted/tizen/3.0.m2/wearable/20170104.125902 accepted/tizen/3.0/common/20161229.113001 accepted/tizen/3.0/ivi/20161229.055241 accepted/tizen/3.0/mobile/20161229.055148 accepted/tizen/3.0/tv/20161229.055206 accepted/tizen/3.0/wearable/20161229.055226 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20161228.102000
Seungbae Shin [Wed, 28 Dec 2016 10:17:43 +0000 (19:17 +0900)]
Fix undefined symbol error

[Version] 0.10.117
[Profile] Common
[Issue Type] bug

Change-Id: I131f523f8d1b1f4448bc4a1b1495450ea83a86b7

7 years agoFix SVACE defect 01/107501/1 accepted/tizen/3.0/common/20161228.162150 accepted/tizen/3.0/ivi/20161228.091222 accepted/tizen/3.0/mobile/20161228.091124 accepted/tizen/3.0/tv/20161228.091139 accepted/tizen/3.0/wearable/20161228.091201 submit/tizen_3.0/20161227.051124
Seungbae Shin [Wed, 28 Dec 2016 08:49:42 +0000 (17:49 +0900)]
Fix SVACE defect

[Version] 0.10.116
[Profile] Common
[Issue Type] SVACE

Change-Id: I2bb5fdc9d27743b4d60efae5f82181fb776c10c5

7 years agoGet both-direction device when mask is both 89/107489/1
Jeongho Mok [Wed, 28 Dec 2016 07:52:24 +0000 (16:52 +0900)]
Get both-direction device when mask is both

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

Change-Id: I5fb000a01590619d402c361badbf10670095f249

7 years agoMerge branch 'tizen_3.0' into tizen 58/107258/1
Seungbae Shin [Tue, 27 Dec 2016 08:50:42 +0000 (17:50 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Iaa1eedd95ef048e659203c18fbc4f45ac9ad3ab5

7 years agostream-manager: Fix a memory leak 55/107255/1
Jungsup Lee [Tue, 27 Dec 2016 04:28:18 +0000 (13:28 +0900)]
stream-manager: Fix a memory leak

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

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

7 years agouse latest device for routing for last-connected route-type 95/106895/4 accepted/tizen/3.0/common/20161227.102159 accepted/tizen/3.0/ivi/20161227.011026 accepted/tizen/3.0/mobile/20161227.010933 accepted/tizen/3.0/tv/20161227.010946 accepted/tizen/3.0/wearable/20161227.011005 submit/tizen_3.0/20161226.105243
Seungbae Shin [Fri, 23 Dec 2016 11:45:26 +0000 (20:45 +0900)]
use latest device for routing for last-connected route-type

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

Change-Id: Id48c7a2b00a1b3b54ac0524b19177aa1b65fee3d

7 years agotizenaudio-policy: Remove unnecessary codes 40/107040/1
Sangchul Lee [Mon, 26 Dec 2016 07:46:45 +0000 (16:46 +0900)]
tizenaudio-policy: Remove unnecessary codes

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

Change-Id: I2a30bbec57860ebdb4a5b749255ffed2d5e10a64

7 years agoRemove unused variable 15/106815/2
Jeongho Mok [Fri, 23 Dec 2016 06:56:51 +0000 (15:56 +0900)]
Remove unused variable

[Version] 5.0.112
[Profile] Common
[Issue Type] Warning

Change-Id: I8fda235ee4854f0c777d8a607a5227329c8c95bb

7 years agoMerge branch 'tizen_3.0' into tizen 86/106786/1 accepted/tizen/common/20161227.192031 accepted/tizen/ivi/20161226.012632 accepted/tizen/mobile/20161226.012541 accepted/tizen/tv/20161226.012604 accepted/tizen/wearable/20161226.012613 submit/tizen/20161223.120533
Seungbae Shin [Fri, 23 Dec 2016 05:09:34 +0000 (14:09 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I1ffc8f0a0100de8efa72f3cda57c288b89a40d8a

7 years agoSet active device properly for auto route, and other call family streams 55/106255/3
Jeongho Mok [Wed, 21 Dec 2016 03:49:25 +0000 (12:49 +0900)]
Set active device properly for auto route, and other call family streams

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

Change-Id: Iacd318ba3c7bac4801c3d541e7c572aaac21278c

7 years agodevice type is wrong 92/106292/2
howon kim [Wed, 21 Dec 2016 08:21:52 +0000 (17:21 +0900)]
device type is wrong

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

Change-Id: Iacf3cb4668cc7c675ce51c3b93d2773ac9be0fcf
Signed-off-by: howon kim <howon.kim@samsung.com>
7 years agotizenaudio-sink: Increase buffer level up to 64ms 25/106325/1
KimJeongYeon [Wed, 21 Dec 2016 02:34:35 +0000 (11:34 +0900)]
tizenaudio-sink: Increase buffer level up to 64ms

Changes:
* Ensure to avoid buffer underflow, increase continuous buffer 32ms -> 64ms.
* Write pcm every 10ms.

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

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ied531f4fefba84a84f2e98b141626fe6db03a06c

7 years agotizenaudio-sink: Increase buffer level up to 64ms 97/106197/3
KimJeongYeon [Wed, 21 Dec 2016 02:34:35 +0000 (11:34 +0900)]
tizenaudio-sink: Increase buffer level up to 64ms

Changes:
* Ensure to avoid buffer underflow, increase continuous buffer 32ms -> 64ms.
* Write pcm every 10ms.

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

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ied531f4fefba84a84f2e98b141626fe6db03a06c

7 years agoMerge branch 'tizen_3.0' into tizen 02/106202/1
Seungbae Shin [Wed, 21 Dec 2016 04:01:23 +0000 (13:01 +0900)]
Merge branch 'tizen_3.0' into tizen

Conflicts:
Makefile.am
packaging/pulseaudio-modules-tizen.spec
src/device-manager.c
src/module-tizenaudio-policy.c
src/stream-manager.c
src/tizen-device-def.c
src/tizen-device.c
src/tizen-device.h

Change-Id: I13c4a4e82041c8f70047fed58b73fee215f7af60

7 years agoChange state concept 60/105460/6 accepted/tizen/3.0/common/20161221.180741 accepted/tizen/3.0/ivi/20161221.005602 accepted/tizen/3.0/mobile/20161221.005657 accepted/tizen/3.0/tv/20161221.005452 accepted/tizen/3.0/wearable/20161221.005539 submit/tizen_3.0/20161219.120436
Jeongho Mok [Fri, 16 Dec 2016 07:48:45 +0000 (16:48 +0900)]
Change state concept

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

Change-Id: I931df11ca3d9db5f573c1e876edb5876d4b7f3d4

7 years agoFix bug due to bluetooth profile removal 76/105576/4
Hyunseok Lee [Mon, 19 Dec 2016 05:00:27 +0000 (14:00 +0900)]
Fix bug due to bluetooth profile removal

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

Change-Id: I32e785f937d92895c29ad1a53dcb57c021c6569a

7 years agoAdd module-poweroff to control mute when poweroff situation 98/105498/2
Seungbae Shin [Sat, 17 Dec 2016 12:58:16 +0000 (21:58 +0900)]
Add module-poweroff to control mute when poweroff situation

[Version] 5.0.108
[Profile] Common
[Issue Type] JIRA

Change-Id: I3f8571bf1811ca5e7b754cccd3c8b30b57ea190e

7 years agoSkip update routing when notification comes while radio is highest priority stream 29/105429/2
Seungbae Shin [Fri, 16 Dec 2016 12:10:13 +0000 (21:10 +0900)]
Skip update routing when notification comes while radio is highest priority stream

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

Change-Id: I4627718302ed8369203c5aed725fa47e1e822ece

7 years agoUpdate route option for Radio Mute when Earjack is disconnected 57/105057/2 accepted/tizen/3.0/common/20161216.123409 accepted/tizen/3.0/ivi/20161216.015532 accepted/tizen/3.0/mobile/20161216.015442 accepted/tizen/3.0/tv/20161216.015508 accepted/tizen/3.0/wearable/20161216.015511 submit/tizen_3.0/20161215.083256
Seungbae Shin [Thu, 15 Dec 2016 07:30:39 +0000 (16:30 +0900)]
Update route option for Radio Mute when Earjack is disconnected

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

Change-Id: I58518d0078a74be871bdf048a8e7c50ec4a3c6d0

7 years agoTransfer bt property (wideband, nrec) to HAL when SCO opened 88/104188/3 accepted/tizen/3.0/common/20161215.162935 accepted/tizen/3.0/ivi/20161215.043851 accepted/tizen/3.0/mobile/20161215.043643 accepted/tizen/3.0/tv/20161215.043747 accepted/tizen/3.0/wearable/20161215.043803 submit/tizen_3.0/20161213.132802 submit/tizen_3.0/20161214.084609
Seungbae Shin [Mon, 12 Dec 2016 14:11:31 +0000 (23:11 +0900)]
Transfer bt property (wideband, nrec) to HAL when SCO opened

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

Change-Id: I79c4eb61661231c78294a15514ff9dd10dc1e512

7 years agostream is on device 53/104553/1
Jeongho Mok [Mon, 12 Dec 2016 02:28:06 +0000 (11:28 +0900)]
stream is on device

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

Change-Id: Ie71658e66b441d59b72e2079f38322ae8af9109b
(cherry picked from commit 876756bb03a3950c9314cce0c8cb32ae81677088)

7 years agoUse PA_HASHMAP_FOREACH_KV, and set state NULL for FOREACH 29/104529/1
Jeongho Mok [Thu, 8 Dec 2016 08:53:19 +0000 (17:53 +0900)]
Use PA_HASHMAP_FOREACH_KV, and set state NULL for FOREACH

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

Change-Id: I026f50af0c760ca151bdcb19e877e50ea77bae24
(cherry picked from commit a6009ddf3a54907f0fef2d2f58271b81c2ca2793)

7 years agodeactivate pa_tz_device only when all sink/source suspended 01/104501/1
Jeongho Mok [Thu, 8 Dec 2016 08:31:32 +0000 (17:31 +0900)]
deactivate pa_tz_device only when all sink/source suspended

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

Change-Id: Id61ab39f9fa7ff718481eef66293a3f629451664
(cherry picked from commit 541cbacb548c07b53f1561c5717f62813e054934)

7 years agostream-manager: Add Dbus interface for getting current media routing path 95/104495/1
Sangchul Lee [Thu, 8 Dec 2016 08:04:26 +0000 (17:04 +0900)]
stream-manager: Add Dbus interface for getting current media routing path

server          : org.pulseaudio.Server
object path     : /org/pulseaudio/StreamManager
interface       : org.pulseaudio.StreamManager
method name     : GetCurrentMediaRoutingPath
method argument : #1 string for direction ("in" or "out")
return value    : #1 string for device type
                  #2 string for error message

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

Change-Id: I539ee848abb61426ff1dc0db10bd2a8c8a8ea4f4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 78d04114f812e6a3aebea831bf5822999a863537)

7 years agoFix SVACE defects 92/104492/1
Seungbae Shin [Thu, 8 Dec 2016 04:26:37 +0000 (13:26 +0900)]
Fix SVACE defects

[Version] 5.0.100
[Profile] Common
[Issue Type] SVACE

Change-Id: I7d1ce86c7b16c79eb49f9fc8b9358741263785bc
(cherry picked from commit 3fb50e22f4d0527d03f2b37a093523ea23ccbffa)

7 years agostream is on device 60/104160/4
Jeongho Mok [Mon, 12 Dec 2016 02:28:06 +0000 (11:28 +0900)]
stream is on device

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

Change-Id: Ie71658e66b441d59b72e2079f38322ae8af9109b

7 years agoUse PA_HASHMAP_FOREACH_KV, and set state NULL for FOREACH 28/103428/4
Jeongho Mok [Thu, 8 Dec 2016 08:53:19 +0000 (17:53 +0900)]
Use PA_HASHMAP_FOREACH_KV, and set state NULL for FOREACH

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

Change-Id: I026f50af0c760ca151bdcb19e877e50ea77bae24

7 years agodeactivate pa_tz_device only when all sink/source suspended 15/103415/4 accepted/tizen/3.0/common/20161212.060550 accepted/tizen/3.0/ivi/20161212.023630 accepted/tizen/3.0/mobile/20161212.023431 accepted/tizen/3.0/tv/20161212.023459 accepted/tizen/3.0/wearable/20161212.023541 submit/tizen_3.0/20161209.122540
Jeongho Mok [Thu, 8 Dec 2016 08:31:32 +0000 (17:31 +0900)]
deactivate pa_tz_device only when all sink/source suspended

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

Change-Id: Id61ab39f9fa7ff718481eef66293a3f629451664

7 years agostream-manager: Add Dbus interface for getting current media routing path 20/103420/5
Sangchul Lee [Thu, 8 Dec 2016 08:04:26 +0000 (17:04 +0900)]
stream-manager: Add Dbus interface for getting current media routing path

server          : org.pulseaudio.Server
object path     : /org/pulseaudio/StreamManager
interface       : org.pulseaudio.StreamManager
method name     : GetCurrentMediaRoutingPath
method argument : #1 string for direction ("in" or "out")
return value    : #1 string for device type
                  #2 string for error message

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

Change-Id: I539ee848abb61426ff1dc0db10bd2a8c8a8ea4f4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFix SVACE defects 08/103308/3
Seungbae Shin [Thu, 8 Dec 2016 04:26:37 +0000 (13:26 +0900)]
Fix SVACE defects

[Version] 5.0.100
[Profile] Common
[Issue Type] SVACE

Change-Id: I7d1ce86c7b16c79eb49f9fc8b9358741263785bc

7 years agoSend device state changed signal 44/102544/1 accepted/tizen/common/20161207.184610 accepted/tizen/ivi/20161208.012250 accepted/tizen/mobile/20161208.011937 accepted/tizen/tv/20161208.012051 accepted/tizen/wearable/20161208.012143 submit/tizen/20161207.075356
Jeongho Mok [Thu, 1 Dec 2016 13:47:51 +0000 (22:47 +0900)]
Send device state changed signal

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

Change-Id: Ia20cbf88d2e3e069b9203251e6b2cc6b80843094
(cherry picked from commit 5982b475260926006c88ccb62909dc86eeba93f3)

7 years agoRemove device profile concept 68/101168/4
Jeongho Mok [Mon, 28 Nov 2016 13:44:33 +0000 (22:44 +0900)]
Remove device profile concept

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

Change-Id: I5fbde486cb79056d3b25a4a4ee3690f35d32338d

7 years agoSend device state changed signal 95/101595/3 accepted/tizen/3.0/common/20161207.194515 accepted/tizen/3.0/ivi/20161207.011925 accepted/tizen/3.0/ivi/20161208.063926 accepted/tizen/3.0/mobile/20161207.011601 accepted/tizen/3.0/mobile/20161208.063906 accepted/tizen/3.0/tv/20161207.011719 accepted/tizen/3.0/tv/20161208.063916 accepted/tizen/3.0/wearable/20161207.011814 accepted/tizen/3.0/wearable/20161208.063923 submit/tizen_3.0/20161206.052949 submit/tizen_3.0/20161208.043602
Jeongho Mok [Thu, 1 Dec 2016 13:47:51 +0000 (22:47 +0900)]
Send device state changed signal

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

Change-Id: Ia20cbf88d2e3e069b9203251e6b2cc6b80843094

7 years agotizenaudio-policy: Add function to unload combine sink with moving streams to another... 81/101881/1
Sangchul Lee [Thu, 1 Dec 2016 06:44:00 +0000 (15:44 +0900)]
tizenaudio-policy: Add function to unload combine sink with moving streams to another sink

[Version] 5.0.97
[Profile] Common
[Issue Type] SVACE, refactorying

Change-Id: I9ab63f177e6f08e87bdc057d61fb52801b0ce6ee
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit d7c0b73537a2f5a914dcf0f9f80af8640b9cd1dd)

7 years agoRemove device profile concept 69/101169/3
Jeongho Mok [Mon, 28 Nov 2016 13:44:33 +0000 (22:44 +0900)]
Remove device profile concept

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

Change-Id: I5fbde486cb79056d3b25a4a4ee3690f35d32338d

7 years agotizenaudio-policy: Add function to unload combine sink with moving streams to another... 21/101421/4
Sangchul Lee [Thu, 1 Dec 2016 06:44:00 +0000 (15:44 +0900)]
tizenaudio-policy: Add function to unload combine sink with moving streams to another sink

[Version] 5.0.97
[Profile] Common
[Issue Type] SVACE, refactorying

Change-Id: I9ab63f177e6f08e87bdc057d61fb52801b0ce6ee
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFix svace issues 94/101394/1
Jeongho Mok [Wed, 30 Nov 2016 09:08:16 +0000 (18:08 +0900)]
Fix svace issues

[Version] 5.0.96
[Profile] Common
[Issue Type] svace

Change-Id: I775b604292d9de2ef9427acc14c929e79d96df39
(cherry picked from commit d50db18d601e5bc0469715f5787b0b3950d78b23)

7 years agotizenaudio-policy: Skip bt device that does not have A2DP profile in case of auto... 88/101388/1
Sangchul Lee [Wed, 23 Nov 2016 07:54:02 +0000 (16:54 +0900)]
tizenaudio-policy: Skip bt device that does not have A2DP profile in case of auto-last-connected routing type

[Version] 5.0.95
[Profile] Common
[Issue Type] bug

Change-Id: I1d44f9f088db98c066b699d9b2d00e069e702572
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 99ff87d557721fe0c495398c945dc52766bab80d)

7 years agoFix svace issues 56/101356/6
Jeongho Mok [Wed, 30 Nov 2016 09:08:16 +0000 (18:08 +0900)]
Fix svace issues

[Version] 5.0.96
[Profile] Common
[Issue Type] svace

Change-Id: I775b604292d9de2ef9427acc14c929e79d96df39

7 years agotizenaudio-policy: Skip bt device that does not have A2DP profile in case of auto... 33/99533/1
Sangchul Lee [Wed, 23 Nov 2016 07:54:02 +0000 (16:54 +0900)]
tizenaudio-policy: Skip bt device that does not have A2DP profile in case of auto-last-connected routing type

[Version] 5.0.95
[Profile] Common
[Issue Type] bug

Change-Id: I1d44f9f088db98c066b699d9b2d00e069e702572
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: fix bug when updating occupying_role from source output & fix indentation 71/99171/3
Hyunseok Lee [Tue, 22 Nov 2016 05:53:03 +0000 (14:53 +0900)]
stream-manager: fix bug when updating occupying_role from source output & fix indentation

[Version] 5.0.94
[Profile] Common
[Issue Type] bug

Change-Id: I1aa22163e40ee43155eff93e2605acc2d5eb86d8

7 years agostream-manager: fix bug when updating occupying_role from source output & fix indentation 73/99173/3
Hyunseok Lee [Tue, 22 Nov 2016 05:53:03 +0000 (14:53 +0900)]
stream-manager: fix bug when updating occupying_role from source output & fix indentation

[Version] 5.0.94
[Profile] Common
[Issue Type] bug

Change-Id: I1aa22163e40ee43155eff93e2605acc2d5eb86d8

7 years agostream-manager: Add condition to set active-dev prop. only if it is auto/audio-last... 80/96780/1 accepted/tizen/3.0/common/20161123.140823 accepted/tizen/3.0/ivi/20161123.083655 accepted/tizen/3.0/mobile/20161123.083423 accepted/tizen/3.0/tv/20161123.083519 accepted/tizen/3.0/wearable/20161123.083609 submit/tizen_3.0/20161122.043110
Sangchul Lee [Thu, 10 Nov 2016 03:55:37 +0000 (12:55 +0900)]
stream-manager: Add condition to set active-dev prop. only if it is auto/audio-last-connected routing type

The condition is added in update_the_highest_priority_stream()
Use a static function instead of macro to set new data stream to null sink(source)

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

Change-Id: I24e14bdd182da3acfc6374a649a5826ba30b445e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Add condition to set active-dev prop. only if it is auto/audio-last... 19/96719/2 accepted/tizen/common/20161122.192945 accepted/tizen/ivi/20161122.235945 accepted/tizen/mobile/20161122.235731 accepted/tizen/tv/20161122.235815 accepted/tizen/wearable/20161122.235852 submit/tizen/20161122.044017
Sangchul Lee [Thu, 10 Nov 2016 03:55:37 +0000 (12:55 +0900)]
stream-manager: Add condition to set active-dev prop. only if it is auto/audio-last-connected routing type

The condition is added in update_the_highest_priority_stream()
Use a static function instead of macro to set new data stream to null sink(source)

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

Change-Id: I24e14bdd182da3acfc6374a649a5826ba30b445e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFix SVACE critical issues 46/95146/3
Hyunseok Lee [Wed, 2 Nov 2016 10:02:44 +0000 (19:02 +0900)]
Fix SVACE critical issues

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

Change-Id: I9525604e746470c23085eab9346326a60d2eadf5

7 years agoFix SVACE critical issues 36/95836/3
Hyunseok Lee [Wed, 2 Nov 2016 10:02:44 +0000 (19:02 +0900)]
Fix SVACE critical issues

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

Change-Id: I9525604e746470c23085eab9346326a60d2eadf5

7 years agoMatch both direction device with direction in or out mask 73/96773/1
Jeongho Mok [Mon, 7 Nov 2016 10:15:11 +0000 (19:15 +0900)]
Match both direction device with direction in or out mask

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

Change-Id: I3875b62ca85388236a68e518b95d7593336ae0f4

7 years agotizenaudio-sink/source: Remove unused parameters 72/96772/1
KimJeongYeon [Mon, 7 Nov 2016 08:09:35 +0000 (17:09 +0900)]
tizenaudio-sink/source: Remove unused parameters

[Version] 5.0.90
[Profile] Common
[Issue Type] Miscellaneous

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I6802cead9e296c85901dae8e0f0dbe04d2ed931b

7 years agovconf: Implementation of module-vconf/vconf-helper 13/96613/2
KimJeongYeon [Wed, 19 Oct 2016 09:58:12 +0000 (18:58 +0900)]
vconf: Implementation of module-vconf/vconf-helper

Changes:
* Based on module-gconf/gconf-helper.
* Support hook callback to communicate with stream-manager/device-manager.
* Included to TV product only.

[Version] 5.0.89
[Profile] TV
[Issue Type] Feature Enhancement

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I3c4946f9e774a8d6ce0016c134c7dfa356249966
(cherry picked from commit f79d6c1b1ef40519594eaa99a34e1241bf65d55c)

7 years agoMatch both direction device with direction in or out mask 24/96024/6
Jeongho Mok [Mon, 7 Nov 2016 10:15:11 +0000 (19:15 +0900)]
Match both direction device with direction in or out mask

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

Change-Id: I3875b62ca85388236a68e518b95d7593336ae0f4

7 years agotizenaudio-sink/source: Remove unused parameters 83/95983/1
KimJeongYeon [Mon, 7 Nov 2016 08:09:35 +0000 (17:09 +0900)]
tizenaudio-sink/source: Remove unused parameters

[Version] 5.0.90
[Profile] Common
[Issue Type] Miscellaneous

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I6802cead9e296c85901dae8e0f0dbe04d2ed931b

7 years agovconf: Implementation of module-vconf/vconf-helper 41/93241/14
KimJeongYeon [Wed, 19 Oct 2016 09:58:12 +0000 (18:58 +0900)]
vconf: Implementation of module-vconf/vconf-helper

Changes:
* Based on module-gconf/gconf-helper.
* Support hook callback to communicate with stream-manager/device-manager.
* Included to TV product only.

[Version] 5.0.89
[Profile] TV
[Issue Type] Feature Enhancement

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I3c4946f9e774a8d6ce0016c134c7dfa356249966

7 years agotizenaudio-policy: Refer to sound profile in case of ringtone-call playback 78/93978/6 accepted/tizen/3.0/common/20161114.105833 accepted/tizen/3.0/ivi/20161028.134045 accepted/tizen/3.0/mobile/20161028.133159 accepted/tizen/3.0/tv/20161028.133512 accepted/tizen/3.0/wearable/20161028.133802 accepted/tizen/common/20161026.134727 accepted/tizen/ivi/20161026.133414 accepted/tizen/mobile/20161026.133327 accepted/tizen/tv/20161026.133342 accepted/tizen/wearable/20161026.133358 submit/tizen/20161026.114941 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
Sangchul Lee [Wed, 26 Oct 2016 11:07:00 +0000 (20:07 +0900)]
tizenaudio-policy: Refer to sound profile in case of ringtone-call playback

If sound profile is off and ringtone-call stream is about to play,
it blocks the stream not to go out to builtin-speaker.

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

Change-Id: Ie93e3d5d875bba2bf66797c67a863e6621fda7a6
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agotizen-device: Change logic inside of _set_active_profile() 09/93609/1
Sangchul Lee [Tue, 25 Oct 2016 04:09:50 +0000 (13:09 +0900)]
tizen-device: Change logic inside of _set_active_profile()

Previously, the callback for notifying active profile changed is called even if the third argument
of _set_active_profile() is false. In case of SCO open()/close() via device-manager API,
the callback get triggered in stream-manager and should be considiered with additional logic.
With this patch, the previous commit does not need anymore.
Fix build warning of stream-manager.c.

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

Change-Id: I579fda5edbb0530b5439b7938c52d8d93ff1c565
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Skip updating other streams in device_profile_changed_hook_cb() in... 10/93410/2 accepted/tizen/common/20161024.135136 accepted/tizen/ivi/20161026.053831 accepted/tizen/mobile/20161026.053741 accepted/tizen/tv/20161026.053756 accepted/tizen/wearable/20161026.053811 submit/tizen/20161024.082210
Sangchul Lee [Mon, 24 Oct 2016 07:15:41 +0000 (16:15 +0900)]
stream-manager: Skip updating other streams in device_profile_changed_hook_cb() in case of the active profile is SCO

The hook callback is called from module-tizenaudio-policy.c when calling SCO open function.
In this case, it should not trigger routing update function for other streams which can lead to close SCO.

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

Change-Id: I9c1a5e2a23d50c3e014be82eda6b8a553c9869e9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: roll-back of the previous commit and add condition for selecting... 79/91579/1 accepted/tizen/common/20161012.154149 accepted/tizen/ivi/20161012.065402 accepted/tizen/mobile/20161012.065244 accepted/tizen/tv/20161012.065313 accepted/tizen/wearable/20161012.065335 submit/tizen/20161012.010406
Sangchul Lee [Mon, 10 Oct 2016 08:44:50 +0000 (17:44 +0900)]
stream-manager: roll-back of the previous commit and add condition for selecting next device

Although A2DP of BT device is off and it changes to SCO, the sink from the deivce should be same as BT sink(for A2DP).
Because it does not work like that, new condition is added to avoid it temporarily.

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

Change-Id: I23f30484d92890e9870ffbefadd0b6db5eb6c12a

7 years agostream-manager: Add device_profile_changed_hook_cb to update proper sink in case... 55/91355/2
Sangchul Lee [Fri, 7 Oct 2016 06:30:55 +0000 (15:30 +0900)]
stream-manager: Add device_profile_changed_hook_cb to update proper sink in case of active profile of BT device change

It is related to the previous commit regarding device-manage: avail-mode for bt.
The previous logic about device connected callback for BT was changed from that commit, so some issues happened.
Now, this commit supports the device-manager changes and works well with the scenario of BT profile change.

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

Change-Id: I6623fc94f33f4ec296961f0216ad13760e1f4f0c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Modify handle_update_focus_status() to update only if needed 79/90779/3 accepted/tizen/3.0/mobile/20161015.034055 accepted/tizen/3.0/tv/20161016.005816 accepted/tizen/3.0/wearable/20161015.083936 accepted/tizen/common/20161005.165445 accepted/tizen/ivi/20161007.003929 accepted/tizen/mobile/20161007.003708 accepted/tizen/tv/20161007.003819 accepted/tizen/wearable/20161007.003856 submit/tizen/20161005.055916 submit/tizen_3.0_mobile/20161015.000006 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000005
Sangchul Lee [Tue, 4 Oct 2016 07:53:33 +0000 (16:53 +0900)]
stream-manager: Modify handle_update_focus_status() to update only if needed

Previously, all the playback/recording streams are updated even if only one focus type(playback/capture) is changed.
It is fixed to update only if needed by checking change of each focus type.

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

Change-Id: Icfc6434d706a76ca51a7727f5585f7bd6127ce77
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoRemove dlog dependency & fix indent 03/89803/3
Hyunseok Lee [Tue, 27 Sep 2016 05:20:16 +0000 (14:20 +0900)]
Remove dlog dependency & fix indent

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

Change-Id: I40a6018caf470ae5019edb1ef1f98e9fc1b5f771

7 years agostream-manager: Support loopback-mirroring stream type and add logics to load/unload... 53/89953/4 accepted/tizen/3.0/ivi/20161011.062233 accepted/tizen/common/20160928.164017 accepted/tizen/ivi/20160930.040809 accepted/tizen/mobile/20160930.040503 accepted/tizen/tv/20160930.040619 accepted/tizen/wearable/20160930.040712 submit/tizen/20160928.043825 submit/tizen_3.0_ivi/20161010.000006
Sangchul Lee [Tue, 27 Sep 2016 06:59:07 +0000 (15:59 +0900)]
stream-manager: Support loopback-mirroring stream type and add logics to load/unload forwarding device

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

Change-Id: I70a93307b3d85c727c5d6bb8443e7ec0a76bdcdd
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>