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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
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>
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>
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>
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
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
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>
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
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
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
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
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>
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
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
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
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
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
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
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
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
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
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>
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
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
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
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
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
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
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
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
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
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
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>
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
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
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
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>
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
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>
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
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>
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
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
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
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)
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>
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>
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>
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
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>
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>
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
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>
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
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
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
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
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
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
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
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
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
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
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
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>
Mok Jeongho [Thu, 21 Jul 2016 05:30:12 +0000 (14:30 +0900)]
Do not read unnecessary config
Change-Id: Id0cdd6b8f8ab701f878c4e875232dc2a90ce02a7
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
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
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>
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
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>
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
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
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>
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>
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>
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
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
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>
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
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>
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
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>
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>
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