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
Sangchul Lee [Thu, 21 Apr 2016 04:52:19 +0000 (13:52 +0900)]
hal-manager: Rename APIs as per HAL API changes
rename pa_hal_manager_do_route() to pa_hal_manager_update_route().
rename pa_hal_manager_update_stream_connection_info() to pa_hal_manager_notify_stream_connection_changed().
[Version] 5.0.48
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: I8f3431fe75c3bf9ba4f6b57ec876531c0a3340cc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 21 Apr 2016 02:29:43 +0000 (11:29 +0900)]
hal-manager: Add an API for removing message callback and rename set_message_callback to add_message_callback
[Version] 5.0.47
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: I065c55f16082267058ae300117dfe36f592622d4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 18 Feb 2016 05:24:42 +0000 (14:24 +0900)]
stream-manager: Mute/unmute streams when a device is disconnected
[Version] 5.0.46
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: I984c08db30747310e9c4d256f262cbf8b54f5d7a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 19 Apr 2016 00:36:59 +0000 (09:36 +0900)]
stream-manager: Move streams to a valid sink/source when a device is disconnected
fix codes to move other streams to a valid sink/source when a device is disconnected.
modify and remove some debug logs.
[Version] 5.0.45
[Profile] Common
[Issue Type] Bug Fix
Change-Id: I4ae21f4f214d2b41da9b876372f60ba8e204de59
Sangchul Lee [Thu, 14 Apr 2016 08:03:23 +0000 (17:03 +0900)]
policy: Revise codes
stream-mananager: Call pa_hal_manager_update_route_option() directly rather than use communicator hook.
communicator: Add PA_COMMUNICATOR_HOOK_UPDATE_INFORMATION, remove PA_COMMUNICATOR_HOOK_UPDATE_ROUTE_OPTION and update description.
policy: Use PA_COMMUNICATOR_HOOK_UPDATE_INFORMATION to get notified arguments of module-loopback from HAL.
[Version] 5.0.44
[Profile] Common
[Issue Type] Refactorying
Change-Id: I0a5a4631dac1fffd05cef935c62bc4ff5ced367c
Mok Jeongho [Thu, 11 Feb 2016 11:17:31 +0000 (20:17 +0900)]
Observe and notify client handling of signal
Monitor clients who is subscribing and handling our signal.
And notifies this when all subscribers has handled our signal.
[Version] 5.0.43
[Profile] Common
[Issue Type] Add Featrue
Change-Id: Id761c3043b3746cbc5809177d18436e41039183e
Sangchul Lee [Tue, 12 Apr 2016 08:29:04 +0000 (17:29 +0900)]
policy: Update omitted device id to HAL in case of manual routing
[Version] 5.0.42
[Profile] Common
[Issue Type] Bug fix
Change-Id: I37e890e4f8caa3c09818011af4aea8682d7f3920
Sangchul Lee [Tue, 29 Mar 2016 08:08:37 +0000 (17:08 +0900)]
stream-manager: Revise description for route type
[Version] 5.0.41
[Profile] Common
[Issue Type] Code clean up
Change-Id: Iaa729f3722441cbfa438fc5013fc9cdfecc2e800
Sangchul Lee [Wed, 23 Mar 2016 07:04:00 +0000 (16:04 +0900)]
sound-player: Replace TRUE with true
[Version] 5.0.40
[Profile] Common
[Issue Type] Code clean up
Change-Id: I0c10e9107c9a4fca1fbb2bcd92e8c6470c588f40
Sangchul Lee [Wed, 23 Mar 2016 07:01:04 +0000 (16:01 +0900)]
stream-manager/device-manager: Replace pa_bool_t with bool
[Version] 5.0.39
[Profile] Common
[Issue Type] Code clean up
Change-Id: I888bb73298d8ae3b6b0dcf876a2155c709264936
Sangchul Lee [Wed, 23 Mar 2016 06:37:35 +0000 (15:37 +0900)]
module-policy: Remove unused codes related to the DBus and replace TRUE/FALSE with true/false
[Version] 5.0.38
[Profile] Common
[Issue Type] Code clean up
Change-Id: Ib51e165950c5dfef6ddcdc6f29ac6eeeabf32526
Sangchul Lee [Wed, 23 Mar 2016 01:58:06 +0000 (10:58 +0900)]
stream-manager: Enhance codes to get current volume type of sink-input even if there is a sink-input only for external device
[Version] 5.0.37
[Profile] Common
[Issue Type] Bug fix
Change-Id: I28a41f33a38a1b4adaaac60810155e88fdca9d78
Seungbae Shin [Wed, 16 Mar 2016 06:56:32 +0000 (15:56 +0900)]
Update ini file path
/usr/etc => /etc/multimedia/ (/etc/ is from _sysconfdir in spec)
[Version] 5.0.36
[Profile] Common
[Issue Type] Etc.
Change-Id: I2596c0e36cc5e31915bfadf468fd2fcfc1708357
Mok Jeongho [Wed, 16 Mar 2016 02:32:58 +0000 (11:32 +0900)]
Fix build warnings
[Version] 5.0.35
[Profile] Common
[Issue Type] Fix Warning
Change-Id: I6738f79762f8b8b3a167e9fd8563ca1e0c3617de
Sangchul Lee [Mon, 7 Mar 2016 08:07:05 +0000 (17:07 +0900)]
sound-player: Use pa_cstrerror instead of strerror
[Version] 5.0.34
[Profile] Common
[Issue Type] svace issue
Change-Id: Iabe458a3683d304fef988b9d8164dd04b197e442
Sangchul Lee [Sun, 14 Feb 2016 23:08:55 +0000 (08:08 +0900)]
stream-manager: Improve visibility of source codes
[Version] 5.0.33
[Profile] Common
[Issue Type] Code clean-up
Change-Id: I03c6d67356f43b72c6d47cef4f33a3f1792b18c7
Sangchul Lee [Wed, 27 Jan 2016 08:09:48 +0000 (17:09 +0900)]
policy: Add skip logic when selecting device
[Version] 5.0.32
[Profile] Common
[Issue Type] Optimization
Change-Id: Iab182bf01abd3fc5eaba3dd697f4bf5fa4ac76a6
Sangchul Lee [Thu, 14 Jan 2016 07:39:23 +0000 (16:39 +0900)]
policy: Support scenario for using module-loopback
[Version] 5.0.31
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: Ie03bb0394d61557d77a9f6be447da97ff3afd219
Sangchul Lee [Wed, 13 Jan 2016 01:02:12 +0000 (10:02 +0900)]
policy: readjust the sequence of moving streams and add codes to suspend sink/source in call scenario
[Version] 5.0.30
[Profile] Common
[Issue Type] Bug fix
Change-Id: If7507516d247203a957a9058ec8efa67da881a4b
Mok Jeongho [Mon, 28 Dec 2015 04:38:55 +0000 (13:38 +0900)]
let forwarding device uses sink of speaker and monitor of it
[Version] 5.0.29
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: I1a0300d458c4fb531281964746b9d54e6567e4e3
Sangchul Lee [Thu, 7 Jan 2016 04:43:01 +0000 (13:43 +0900)]
stream-manager/hal-manager: Support forwarding message from audio-hal
Some audio-hal has to communicate with other frameworks/daemons.
If stream-manager gets the notification from hal-manager, it would send dbus signal.
Modify AUDIO_ERR_NOT_IMPLEMENTED value to 0x80001100.
[Version] 5.0.28
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: Icad17ed97fb3c31510be5257b4179fcaea162ae6
Sangchul Lee [Thu, 31 Dec 2015 00:04:11 +0000 (09:04 +0900)]
policy: Modifications regarding device role/stream role for coping with a specific hardware
Sets null sink or null source in case of a virtual stream made by sound-manager native API in stream-manager.
Returns a sink or source of normal role when a requested device role is not available in device-manager(pa_device_manager_get_sink/_get_source).
Moves streams if needed at the beginning and end of voice call scenario.
Update active device info. to incoming stream(auto) even if the occupying stream does not need to change.
[Version] 5.0.27
[Profile] Common
[Issue Type] Feature Enhancement and Bug Fix
Change-Id: Id0e4399c60dfa45063832606a50812184e8786d9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Mok Jeongho [Wed, 23 Dec 2015 01:40:54 +0000 (10:40 +0900)]
device-manager : get use_internal_codec for both device correctly
[Version] 5.0.26
[Profile] Common
[Issue Type] Fix Bug
Change-Id: Ie4efb1ce85c545c4c29f69b62baa989a5b3685b4
Sangchul Lee [Mon, 21 Dec 2015 05:49:16 +0000 (14:49 +0900)]
device-manager: set DEVICE_DETECTED_AUDIO_JACK_OUT_DIRECT temporarily when detecting audio jack regardless of its direction
[Profile] Common
[Issue Type] temporary code
Change-Id: If541dc119998ac1cd6fc1493c755c63c38109611
Mok Jeongho [Mon, 14 Dec 2015 11:49:40 +0000 (20:49 +0900)]
device-manager : increase max length of device param
Previously, max length of device param was too short,
so we cannot add more parameters for it. so increased it.
[Version] 5.0.25
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: I48d0420eefcf6ffc4bf6b5e5a218d934d4e8ded1
Seungbae Shin [Tue, 15 Dec 2015 02:31:19 +0000 (11:31 +0900)]
Fix for coding rules
Change-Id: I74d3ba3b507126116bb38941bef5948bb14e75aa
Seungbae Shin [Mon, 14 Dec 2015 10:39:32 +0000 (19:39 +0900)]
Fix SVACE defects
Change-Id: I8c1cb7e3b19d55ef0742ba680d4616627346fba5
Sangchul Lee [Wed, 9 Dec 2015 07:03:33 +0000 (16:03 +0900)]
module-policy/stream-manager: Fix svace issues
[Version] 5.0.23
[Profile] Common
[Issue Type] Static Analysis
Change-Id: Ia1028ab8545d34efffad377f42470c9361dfbb13
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Mok Jeongho [Tue, 24 Nov 2015 12:51:12 +0000 (21:51 +0900)]
device-manager : remove not using enumeration
[Version] 5.0.22
[Profile] Common
[Issue Type] Code clean up
Change-Id: Ibcca51b575f8cfcdc313789a8004f157d6581f78
KimJeongYeon [Mon, 7 Dec 2015 08:16:14 +0000 (17:16 +0900)]
hal: tizenaudio reference sink / source support realtime scheduling
[Version] 5.0.21
[Profile] Common
[Issue Type] Feature Enhancement
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I53dc22d8af49f1da4e5978193b9e9af078876d08
Mok Jeongho [Mon, 7 Dec 2015 08:21:02 +0000 (17:21 +0900)]
device-manager : Fix svace issues
[Version] 5.0.21
[Profile] Common
[Issue Type] Static Analysis
Change-Id: Ieb797826f339c46cd1c5f4e1b5c7dd749e7bf7fe
KimJeongYeon [Fri, 27 Nov 2015 05:35:43 +0000 (14:35 +0900)]
hal: tizenaudio reference sink / source improve latency calculation
[Version] 5.0.20
[Profile] Common
[Issue Type] Feature Enhancement
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I92de9d7e01926ba618d570dcb3ac23052ac0ba3c
Sangchul Lee [Tue, 24 Nov 2015 12:20:28 +0000 (21:20 +0900)]
stream-manager: Skip selecting device logic if a new stream has aleady been set to a device
[Version] 5.0.19
[Profile] Common
[Issue Type] Feature Enhancement
Change-Id: I654b6971347c1bb3c0e6ce869e7aeeeeb361bc00
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 24 Nov 2015 03:13:04 +0000 (12:13 +0900)]
hal-manager: Rename variables and change deinit API of audio HAL
[Version] 5.0.18
[Profile] Common
[Issue Type] Code clean up
Change-Id: I2d7a42703d66e83ed41f2eeb752997f870626a08
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 20 Nov 2015 02:22:36 +0000 (11:22 +0900)]
policy/stream-manager: Support a new routing policy for having priority for the last connected device
Added STREAM_ROUTE_TYPE_AUTO_LAST_CONNECTED route type.
When a stream that has this route type(it should be defined to route-type with "auto-last-connected" in stream-map.json),
it would use a device which is the most recently connected.
Fix mute bug regarding moving sink-inputs.
Do mute/unmute in case of moving source-ouputs.
[Version] 5.0.17
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: I139711b0178ba6f03244735cd728066ff7746c3c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Mok Jeongho [Fri, 20 Nov 2015 00:34:33 +0000 (09:34 +0900)]
device-manager : modify to create sco profile item when sco open
Previously, bt-sco profile_item is created and notified
when HFP connection dbus signal comes, but it is little confused
because bt-a2dp is created right after that and notify 'direction-changed'.
So, we just create bt-sco profile item when we sco open internally,
and then it will be notified.
[Version] 5.0.16
[Profile] Common
[Issue Type] Change logic
Change-Id: I78f5f9652b4dbb4e0e8bc73edd547a415f49363e
KimJeongYeon [Fri, 20 Nov 2015 01:30:23 +0000 (10:30 +0900)]
hal: tizenaudio reference sink / source add setting parameters & recover
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: If945f2c35d7969a6845c230604c5f7336797e476
KimJeongYeon [Thu, 19 Nov 2015 03:02:40 +0000 (19:02 -0800)]
Merge "hal: tizenaudio reference sink / source add pcm interface" into tizen
KimJeongYeon [Thu, 5 Nov 2015 07:46:00 +0000 (16:46 +0900)]
hal: tizenaudio reference sink / source add pcm interface
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ibadd26341eb91fd2c081e7ef38e062d479d71329
Sangchul Lee [Thu, 12 Nov 2015 02:10:30 +0000 (11:10 +0900)]
policy/stream-manager: Refactorying codes between module-policy.c and stream-manager.c
Get device-manager handle in stream-manager.c
Move bunch of codes from module-policy.c to stream-manager.c and it leads to removal of PA_COMMUNICATOR_HOOK_NEED_UPDATE_ROUTE one of the custum hook type
Make more macros for reducing codes
Change sequence of parameters
[Version] 5.0.15
[Profile] Common
[Issue Type] Refactorying and revise code
Change-Id: I3dffab07962ad84493d10e7d18ffc1660633cbb7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seonmi Jin [Fri, 13 Nov 2015 11:13:52 +0000 (20:13 +0900)]
hal-manager: Remove unnecessary code
[Version] 5.0.14
[Profile] Common
[Issue Type] CodeClean
Change-Id: I033b19587134daba3d36cacbba65def2aa609044
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
Seungbae Shin [Fri, 13 Nov 2015 04:14:07 +0000 (13:14 +0900)]
Remove unnecessary configs
[Version] 5.0.13
[Profile] Common
[Issue Type] CodeClean
Change-Id: Ia045f78a202f67f81485725df0fdec26ba27c270
Sangchul Lee [Wed, 11 Nov 2015 09:52:36 +0000 (18:52 +0900)]
device-manager: Change pa_device_manager_init()/done() to pa_device_manager_ref()/unref()
[Version] 5.0.12
[Profile] Common
[Issue Type] modification
Change-Id: I6ceadf41f33ebd24efea53295300743a22916693
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 12 Nov 2015 05:43:24 +0000 (14:43 +0900)]
stream-manager: Fix bug to update route type even if a stream does not have any volume type
[Version] 5.0.12
[Profile] Common
[Issue Type] Bug fix
Change-Id: I4fdf1469dfd84ceaa336a7c46bd6b019385939c1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 5 Nov 2015 11:40:02 +0000 (20:40 +0900)]
stream-manager/hal-manager: revise codes for readability and rename functions
[Version] 5.0.11
[Profile] Common
[Issue Type] Code enhancement
Change-Id: I053cba292f891819013bc36b346b13d3e6dd7990
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>