platform/core/multimedia/pulseaudio-modules-tizen.git
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 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 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 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 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... 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... 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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>
7 years agodevice-manager : avail-mode for bt 69/86569/11
Mok Jeongho [Thu, 1 Sep 2016 10:33:43 +0000 (19:33 +0900)]
device-manager : avail-mode for bt

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

Change-Id: Iab8597b1eefde9f8f31eff69cc144d86a5d70c30

7 years agoUse absolute path for audio-hal dlopen to avoid malicious attack 89/89589/5
Seungbae Shin [Mon, 26 Sep 2016 05:55:56 +0000 (14:55 +0900)]
Use absolute path for audio-hal dlopen to avoid malicious attack

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

Change-Id: I5ce2acd3ae5efe8a139b7a5d3efa8c039fe96ed5

7 years agodevice-manager : Add Interface to load forwarding device 49/89349/7
Mok Jeongho [Fri, 23 Sep 2016 07:07:06 +0000 (16:07 +0900)]
device-manager : Add Interface to load forwarding device

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

Change-Id: Icf7ee44fb45dbf34188e889794b8e83b6cac0010

7 years agodevice-manager : Fix source bugs 40/89640/1
Mok Jeongho [Mon, 26 Sep 2016 06:41:08 +0000 (15:41 +0900)]
device-manager : Fix source bugs

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

Change-Id: Id1b0734d38a1be43d156789047fcb32f68a6c1d6

7 years agodevice-manager : Fix bug to get sources correctly 53/89553/2
Mok Jeongho [Mon, 26 Sep 2016 03:50:17 +0000 (12:50 +0900)]
device-manager : Fix bug to get sources correctly

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

Change-Id: I3f14f7dcb76f7a53e5da4bbaebe3366915d99f06

7 years agodevice-manager : Check param for pcm device to load 76/89376/1
Mok Jeongho [Fri, 23 Sep 2016 08:16:55 +0000 (17:16 +0900)]
device-manager : Check param for pcm device to load

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

Change-Id: I827b93ef88800e3bd8baf272730946fb492fafea

7 years agoFix for SVACE defects 88/89288/1 accepted/tizen/common/20160923.160656 accepted/tizen/ivi/20160925.234318 accepted/tizen/mobile/20160925.234332 accepted/tizen/tv/20160925.234328 accepted/tizen/wearable/20160925.234326 submit/tizen/20160923.045958
Seungbae Shin [Fri, 23 Sep 2016 04:35:57 +0000 (13:35 +0900)]
Fix for SVACE defects

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

Change-Id: Ib0eb97f27c41b5d39baaa81ef508d576f2c7e11a

7 years agoCreate /tmp/keytone using tmpfile.d conf for smack labeling 36/88736/4 accepted/tizen/common/20160921.162257 accepted/tizen/ivi/20160922.042643 accepted/tizen/mobile/20160922.042426 accepted/tizen/tv/20160922.042515 accepted/tizen/wearable/20160922.042558 submit/tizen/20160921.041639
Seungbae Shin [Tue, 20 Sep 2016 09:01:34 +0000 (18:01 +0900)]
Create /tmp/keytone using tmpfile.d conf for smack labeling

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

Change-Id: Idcc5d739c141ce1f11398f907c7c5db333e2301a

7 years agoRemove build warning 73/87473/1
Mok Jeongho [Thu, 8 Sep 2016 06:55:49 +0000 (15:55 +0900)]
Remove build warning

[Version] 5.0.72
[Profile] Common
[Issue Type] Build Warning

Change-Id: I3d3f65f119c6324b12ab07b64d0f9198c7a9ec11

7 years agodevice manager refactoring and enhancement 64/85964/9
Mok Jeongho [Thu, 11 Aug 2016 08:35:38 +0000 (17:35 +0900)]
device manager refactoring and enhancement

device manager refactoring
- divide pa_tz_device and it's interfaces to tizen-device
- adopt new_data concept for pa_tz_device
- divide some definitions and static property of device-types to tizen-device-def
bt enhancement
- support multi-device per profile
- deal with call/media option on/off
- sco control(open/close/etc) on pa_tz_device(type=bt)

[Version] 5.0.71
[Profile] Common
[Issue Type] Refactoring

Change-Id: I06c07eaf67e0662b97a26dd9fa874d83c37f5ba2

7 years agoFix for SVACE defects 45/87345/1
Seungbae Shin [Wed, 7 Sep 2016 11:48:07 +0000 (20:48 +0900)]
Fix for SVACE defects

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

Change-Id: I1ad7cb0d45ed01dd2f9f522b0ed911609218af4b

7 years agotizenaudio-policy, stream-manager: Revise label name for goto statement 53/83453/5
Sangchul Lee [Thu, 11 Aug 2016 04:54:57 +0000 (13:54 +0900)]
tizenaudio-policy, stream-manager: Revise label name for goto statement

[Version] 5.0.69
[Profile] Common
[Issue Type] Naming

Change-Id: If716c01b4f2b94b0f279253f75aa8b1f7ecfed31
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoDo not read unnecessary config 77/80977/3 accepted/tizen/common/20160818.144336 accepted/tizen/ivi/20160818.231817 accepted/tizen/mobile/20160818.231639 accepted/tizen/tv/20160818.231749 accepted/tizen/wearable/20160818.231718 submit/tizen/20160812.084807 submit/tizen/20160818.052348
Mok Jeongho [Thu, 21 Jul 2016 05:30:12 +0000 (14:30 +0900)]
Do not read unnecessary config

Change-Id: Id0cdd6b8f8ab701f878c4e875232dc2a90ce02a7

7 years agoAdd module-hw-keysound to handle h/w touch key event 78/67978/13
Seungbae Shin [Fri, 29 Apr 2016 12:23:45 +0000 (21:23 +0900)]
Add module-hw-keysound to handle h/w touch key event

this feature is moved from sound-server

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

Change-Id: I3fef49a79b5121d3ce9a7482fae0fc925042637e

7 years agoModify device manager log 86/83286/5
Mok Jeongho [Thu, 4 Aug 2016 05:33:18 +0000 (14:33 +0900)]
Modify device manager log

[Version] 5.0.66
[Profile] Common
[Issue Type] Log enhancement

Change-Id: I72dad87226b001091fe8a7b10f70e8a6b96da975

7 years agosound-player, tizen-audio-policy, stream-manager: Adjust log level 56/83056/1
Sangchul Lee [Tue, 9 Aug 2016 03:03:31 +0000 (12:03 +0900)]
sound-player, tizen-audio-policy, stream-manager: Adjust log level

[Version] 5.0.65
[Profile] Common
[Issue Type] Log

Change-Id: I35d7b45d64c468f6fb5906334bb901c970cb90f8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoUse udev.id as a name of USB device 37/81437/3 accepted/tizen/common/20160805.130239 accepted/tizen/ivi/20160808.081214 accepted/tizen/mobile/20160808.080852 accepted/tizen/tv/20160808.081021 accepted/tizen/wearable/20160808.081116 submit/tizen/20160805.054353
Mok Jeongho [Tue, 26 Jul 2016 07:23:18 +0000 (16:23 +0900)]
Use udev.id as a name of USB device

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

Change-Id: I1194c4cd7f553934f4d82421b4bb8d971110093a

7 years agoAdd module-tizenaudio-haltc for testing audio HAL 95/80195/3
Sangchul Lee [Fri, 15 Jul 2016 03:18:06 +0000 (12:18 +0900)]
Add module-tizenaudio-haltc for testing audio HAL

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

Change-Id: I9ead5a70a1fb09630c0d0f02d24840f3ed71dca1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agotizenaudio-sink/source: Fix resource leak of pcm handle 83/78383/1 accepted/tizen/common/20160708.140638 accepted/tizen/ivi/20160708.091805 accepted/tizen/mobile/20160708.091640 accepted/tizen/tv/20160708.091737 accepted/tizen/wearable/20160708.091646 submit/tizen/20160708.012900
KimJeongYeon [Tue, 5 Jul 2016 09:10:13 +0000 (18:10 +0900)]
tizenaudio-sink/source: Fix resource leak of pcm handle

[Version] 5.0.62
[Profile] Common
[Issue Type] Resource leak

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

7 years agotizenaudio-sink/source: Fix crash when access pcm handle 54/78254/5
KimJeongYeon [Tue, 5 Jul 2016 01:47:50 +0000 (10:47 +0900)]
tizenaudio-sink/source: Fix crash when access pcm handle

build_pollfd() trying to access u->pcm_handle at sink_process_msg() at module loading step.
But, sometimes the device wasn't open yet. (e.g factory reset, power on, ...)
Therefore, null access to u->pcm_handle causes crash.
I think device need to be opened prior to starting sink's message handler.

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

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

7 years agohal-interface: Use /usr/include/tizen-audio.h instead of local tizen-audio.h 29/77229/4
Sangchul Lee [Wed, 29 Jun 2016 06:28:56 +0000 (15:28 +0900)]
hal-interface: Use /usr/include/tizen-audio.h instead of local tizen-audio.h

removed src/tizen-audio.h file.

[Version] 5.0.60
[Profile] Common
[Issue Type] Clean-up

Change-Id: I5bbbb5c9855e38395bb235a6deccbe2965b834ef
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agotizenaudio-policy: Fix codes to select source properly in case of loading module... 18/75918/1 accepted/tizen/common/20160703.130259 accepted/tizen/ivi/20160630.063334 accepted/tizen/mobile/20160630.063358 accepted/tizen/tv/20160630.063316 accepted/tizen/wearable/20160630.063254 submit/tizen/20160630.022953 submit/tizen_common/20160701.180000
Sangchul Lee [Wed, 22 Jun 2016 06:17:11 +0000 (15:17 +0900)]
tizenaudio-policy: Fix codes to select source properly in case of loading module-loopback

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

Change-Id: I8d39cefbd66eaf363553da9534ffe1188d79e1ca
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoAdd license boilerplate 84/75484/2
Sangchul Lee [Thu, 16 Jun 2016 07:39:40 +0000 (16:39 +0900)]
Add license boilerplate

[Version] 5.0.58
[Profile] Common
[Issue Type] License boilerplate

Change-Id: Ia0f45ffc4a161326bf3e28d62ec96e41613fc7a1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Fix memory leak 36/74436/5 accepted/tizen/common/20160620.162507 accepted/tizen/ivi/20160617.082449 accepted/tizen/mobile/20160617.081938 accepted/tizen/tv/20160617.082037 accepted/tizen/wearable/20160617.082138 submit/tizen/20160616.065630
Sangchul Lee [Tue, 14 Jun 2016 07:13:50 +0000 (16:13 +0900)]
stream-manager: Fix memory leak

Fix code to free a hashmap for stream parentes in subscribe_cb().

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

Change-Id: If1c282c36c577db26383923a79a2216c6f424303

7 years agostream-manager: Update buffer attributes as per latency from stream-map.json 38/74338/7
Sangchul Lee [Tue, 14 Jun 2016 02:21:45 +0000 (11:21 +0900)]
stream-manager: Update buffer attributes as per latency from stream-map.json

Previously, buffer attributes are got from audio HAL.
But the audio HAL is not proper place to get these information because these are
very deeply related to the buffer mechanism of each stream on pulseaudio.

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

Change-Id: I006afb9344e7ee4601a416e98486489dc8f5bb9b

8 years agotizenaudio-policy: Add support for radio 74/73374/2 accepted/tizen/common/20160608.160355 accepted/tizen/ivi/20160608.084526 accepted/tizen/mobile/20160608.084553 accepted/tizen/tv/20160608.084509 accepted/tizen/wearable/20160608.084519 submit/tizen/20160608.063522
Sangchul Lee [Wed, 8 Jun 2016 01:38:07 +0000 (10:38 +0900)]
tizenaudio-policy: Add support for radio

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

Change-Id: Idfa4ab9987ff6528ce6722ec4449296a01fafccc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agostream-manager: Do not skip a virtual stream in update_the_highest_priority_stream() 21/72621/1 accepted/tizen/common/20160603.150932 accepted/tizen/ivi/20160606.121117 accepted/tizen/mobile/20160606.120754 accepted/tizen/tv/20160606.120938 accepted/tizen/wearable/20160606.121044 submit/tizen/20160603.021103 submit/tizen/20160603.061849
Sangchul Lee [Thu, 2 Jun 2016 00:45:23 +0000 (09:45 +0900)]
stream-manager: Do not skip a virtual stream in update_the_highest_priority_stream()

In case of a stream ended, pick another stream that has the hightest priority among the rest of streams
including a virtual stream assigned to null sink or source.

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

Change-Id: I38fb64ed79a4b6fe5845d1c94b554c8562b65cda

8 years agostream-manager: Do not skip if new stream is a virtual stream with auto routing type 66/71566/1 accepted/tizen/common/20160531.141844 accepted/tizen/ivi/20160602.022048 accepted/tizen/mobile/20160602.022124 accepted/tizen/tv/20160602.021907 accepted/tizen/wearable/20160602.022019 submit/tizen/20160530.013417
Sangchul Lee [Thu, 26 May 2016 02:43:58 +0000 (11:43 +0900)]
stream-manager: Do not skip if new stream is a virtual stream with auto routing type

It was not prepared for a virtual stream which is assigned to null sink or source with auto routing type.
Now it is fixed to forward this information to tizenaudio-policy.c.

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

Change-Id: I47f65d7e43fad4e66fcf880955afc85003589bba
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agohal-interface: Modify error checking code 10/70410/1 accepted/tizen/common/20160520.171159 accepted/tizen/ivi/20160520.081505 accepted/tizen/mobile/20160520.081455 accepted/tizen/tv/20160520.081426 accepted/tizen/wearable/20160520.081413 submit/tizen/20160520.025421
Sangchul Lee [Thu, 19 May 2016 06:45:10 +0000 (15:45 +0900)]
hal-interface: Modify error checking code

[Version] 5.0.52
[Profile] Common
[Issue Type] Code revision

Change-Id: I80897f6e982e522887c4fe3c823251b381f7c1b9

8 years agoRename module-policy to module-tizenaudio-policy 05/69905/2 accepted/tizen/ivi/20160520.002412 accepted/tizen/mobile/20160520.002438 accepted/tizen/tv/20160520.002352 accepted/tizen/wearable/20160520.002422 submit/tizen/20160519.072940
Sangchul Lee [Tue, 17 May 2016 08:33:31 +0000 (17:33 +0900)]
Rename module-policy to module-tizenaudio-policy

[Version] 5.0.51
[Profile] Common
[Issue Type] Rename

Change-Id: Ide2028491ac2b4fe0205f8f96fe3a3f4f8a05604
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agoRename hal-manager to hal-interface 95/69895/1
Sangchul Lee [Tue, 17 May 2016 08:03:05 +0000 (17:03 +0900)]
Rename hal-manager to hal-interface

[Version] 5.0.50
[Profile] Common
[Issue Type] Rename file and API

Change-Id: I7b180fbd40cd76788651da01ceec0ff35bf2c5cf
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agostream-manager: Add support for stream restriction 45/67645/6 accepted/tizen/common/20160504.125848 accepted/tizen/ivi/20160504.011132 accepted/tizen/mobile/20160504.011038 accepted/tizen/tv/20160504.011057 accepted/tizen/wearable/20160504.011113 submit/tizen/20160503.074218
Sangchul Lee [Wed, 27 Apr 2016 09:45:02 +0000 (18:45 +0900)]
stream-manager: Add support for stream restriction

dbus method is added.
 - name: UpdateRestriction
 - args: name(string[in]), value(uint32[in]), ret_msg(string[out])

We support "block_recording_media" as the name for now.
It can be called when recording streams of media role should be blocked.

[Version] 5.0.49
[Profile] Common
[Issue Type] New feature

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