platform/core/multimedia/pulseaudio-modules-tizen.git
8 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>
8 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

8 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

8 years agohal-manager: Rename APIs as per HAL API changes 72/66772/3 accepted/tizen/common/20160426.143951 accepted/tizen/ivi/20160426.103512 accepted/tizen/mobile/20160426.103623 accepted/tizen/tv/20160426.103422 accepted/tizen/wearable/20160426.103522 submit/tizen/20160426.082834
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>
8 years agohal-manager: Add an API for removing message callback and rename set_message_callback... 64/66764/5
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>
8 years agostream-manager: Mute/unmute streams when a device is disconnected 48/65748/5 accepted/tizen/common/20160419.143635 accepted/tizen/ivi/20160419.152347 accepted/tizen/mobile/20160419.151617 accepted/tizen/tv/20160419.151909 accepted/tizen/wearable/20160419.152101 submit/tizen/20160419.105236
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>
8 years agostream-manager: Move streams to a valid sink/source when a device is disconnected 34/66434/3
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

8 years agopolicy: Revise codes 73/65973/6
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

8 years agoObserve and notify client handling of signal 66/65266/16 accepted/tizen/common/20160418.142050 accepted/tizen/ivi/20160418.235712 accepted/tizen/mobile/20160418.235702 accepted/tizen/tv/20160418.235706 accepted/tizen/wearable/20160418.235659 submit/tizen/20160418.103649
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

8 years agopolicy: Update omitted device id to HAL in case of manual routing 32/65732/1
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

8 years agostream-manager: Revise description for route type 92/63992/1 accepted/tizen/common/20160406.144552 accepted/tizen/ivi/20160406.073822 accepted/tizen/mobile/20160406.073721 accepted/tizen/tv/20160406.073741 accepted/tizen/wearable/20160406.073759 submit/tizen/20160406.045648
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

8 years agosound-player: Replace TRUE with true 17/63317/2 accepted/tizen/common/20160323.185237 accepted/tizen/ivi/20160323.140829 accepted/tizen/mobile/20160323.135431 accepted/tizen/tv/20160323.135641 accepted/tizen/wearable/20160323.135429 submit/tizen/20160323.083603
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

8 years agostream-manager/device-manager: Replace pa_bool_t with bool 16/63316/2
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

8 years agomodule-policy: Remove unused codes related to the DBus and replace TRUE/FALSE with... 10/63310/2
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

8 years agostream-manager: Enhance codes to get current volume type of sink-input even if there... 42/63242/1 accepted/tizen/ivi/20160323.074240 accepted/tizen/mobile/20160323.074055 accepted/tizen/tv/20160323.074134 accepted/tizen/wearable/20160323.074205 submit/tizen/20160323.050853
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

8 years agoUpdate ini file path 43/62443/3 pulseaudio_8.0_upgrade submit/tizen/20160321.072619
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

8 years agoFix build warnings 03/62403/1 accepted/tizen/common/20160316.161031 accepted/tizen/ivi/20160318.112008 accepted/tizen/mobile/20160318.111224 accepted/tizen/tv/20160318.111515 accepted/tizen/wearable/20160318.111611 submit/tizen/20160316.075911
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

8 years agosound-player: Use pa_cstrerror instead of strerror 03/61303/2 accepted/tizen/common/20160307.163107 accepted/tizen/ivi/20160307.111006 accepted/tizen/mobile/20160307.110918 accepted/tizen/tv/20160307.110933 accepted/tizen/wearable/20160307.110949 submit/tizen/20160307.083843
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

8 years agostream-manager: Improve visibility of source codes 51/59351/8 accepted/tizen/mobile/20160216.102945 accepted/tizen/tv/20160216.103003 accepted/tizen/wearable/20160216.103021 submit/tizen/20160216.062636 submit/tizen_common/20160218.142243
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

8 years agopolicy: Add skip logic when selecting device 58/58058/3 accepted/tizen/common/20160202.165219 accepted/tizen/ivi/20160218.023854 accepted/tizen/mobile/20160128.082837 accepted/tizen/tv/20160128.082855 accepted/tizen/wearable/20160128.082917 submit/tizen/20160128.050738 submit/tizen_common/20160201.150530 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
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

8 years agopolicy: Support scenario for using module-loopback 96/56996/4 accepted/tizen/mobile/20160115.114140 accepted/tizen/tv/20160115.114205 accepted/tizen/wearable/20160115.114232 submit/tizen/20160115.085807
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

8 years agopolicy: readjust the sequence of moving streams and add codes to suspend sink/source... 16/56816/1 accepted/tizen/mobile/20160113.050942 accepted/tizen/tv/20160113.051001 accepted/tizen/wearable/20160113.051024 submit/tizen/20160113.023715
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

8 years agolet forwarding device uses sink of speaker and monitor of it 11/55611/4 accepted/tizen/mobile/20160112.043628 accepted/tizen/tv/20160112.043647 accepted/tizen/wearable/20160112.043716 submit/tizen/20160112.041735
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

8 years agostream-manager/hal-manager: Support forwarding message from audio-hal 69/56469/6 accepted/tizen/mobile/20160111.230306 accepted/tizen/tv/20160111.230343 accepted/tizen/wearable/20160111.230400 submit/tizen/20160111.114534
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

8 years agopolicy: Modifications regarding device role/stream role for coping with a specific... 87/55987/4 accepted/tizen/mobile/20160107.101605 accepted/tizen/tv/20160107.101623 accepted/tizen/wearable/20160107.101648 submit/tizen/20160107.045209
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>
8 years agodevice-manager : get use_internal_codec for both device correctly 89/55289/1
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

8 years agodevice-manager: set DEVICE_DETECTED_AUDIO_JACK_OUT_DIRECT temporarily when detecting... 78/54978/1 accepted/tizen/mobile/20151221.101547 accepted/tizen/tv/20151221.101455 accepted/tizen/wearable/20151221.101645 submit/tizen/20151221.075527 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
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

8 years agodevice-manager : increase max length of device param 03/54403/2 accepted/tizen/mobile/20151217.022126 accepted/tizen/tv/20151217.021926 accepted/tizen/wearable/20151217.022045 submit/tizen/20151216.101410
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

8 years agoFix for coding rules 30/54330/1 accepted/tizen/mobile/20151216.052433 accepted/tizen/tv/20151216.052544 accepted/tizen/wearable/20151216.052601 submit/tizen/20151216.011711
Seungbae Shin [Tue, 15 Dec 2015 02:31:19 +0000 (11:31 +0900)]
Fix for coding rules

Change-Id: I74d3ba3b507126116bb38941bef5948bb14e75aa

8 years agoFix SVACE defects 64/54264/1 accepted/tizen/mobile/20151215.054134 accepted/tizen/mobile/20151215.054822 accepted/tizen/tv/20151215.054150 accepted/tizen/tv/20151215.054839 accepted/tizen/wearable/20151215.054223 accepted/tizen/wearable/20151215.054901 submit/tizen/20151215.015315 submit/tizen/20151215.021123
Seungbae Shin [Mon, 14 Dec 2015 10:39:32 +0000 (19:39 +0900)]
Fix SVACE defects

Change-Id: I8c1cb7e3b19d55ef0742ba680d4616627346fba5

8 years agomodule-policy/stream-manager: Fix svace issues 60/53760/4 accepted/tizen/mobile/20151209.132843 accepted/tizen/tv/20151209.132913 accepted/tizen/wearable/20151209.132937 submit/tizen/20151209.082902
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>
8 years agodevice-manager : remove not using enumeration 84/52584/5 accepted/tizen/mobile/20151209.132743 accepted/tizen/tv/20151209.132801 accepted/tizen/wearable/20151209.132838 submit/tizen/20151209.053933
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

8 years agohal: tizenaudio reference sink / source support realtime scheduling 85/53485/3 accepted/tizen/mobile/20151208.125225 accepted/tizen/tv/20151208.125242 accepted/tizen/wearable/20151208.125258 submit/tizen/20151208.041928
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

8 years agodevice-manager : Fix svace issues 86/53486/1 accepted/tizen/mobile/20151208.125039 accepted/tizen/tv/20151208.125055 accepted/tizen/wearable/20151208.125114 submit/tizen/20151208.041243
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

8 years agohal: tizenaudio reference sink / source improve latency calculation 75/52875/1 accepted/tizen/mobile/20151130.093926 accepted/tizen/tv/20151130.093940 accepted/tizen/wearable/20151130.094005 submit/tizen/20151127.082707
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

8 years agostream-manager: Skip selecting device logic if a new stream has aleady been set to... 04/52604/2 accepted/tizen/mobile/20151125.072240 accepted/tizen/tv/20151125.072254 accepted/tizen/wearable/20151125.072309 submit/tizen/20151125.024551
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>
8 years agohal-manager: Rename variables and change deinit API of audio HAL 03/52503/2 accepted/tizen/mobile/20151124.084820 accepted/tizen/tv/20151124.084841 accepted/tizen/wearable/20151124.084849 submit/tizen/20151124.083219
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>
8 years agopolicy/stream-manager: Support a new routing policy for having priority for the last... 59/52259/4 accepted/tizen/mobile/20151122.234500 accepted/tizen/tv/20151122.234513 accepted/tizen/wearable/20151122.234526 submit/tizen/20151120.114823
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>
8 years agodevice-manager : modify to create sco profile item when sco open 08/52208/5
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

8 years agohal: tizenaudio reference sink / source add setting parameters & recover 09/52209/1 accepted/tizen/mobile/20151120.071002 accepted/tizen/tv/20151120.071014 accepted/tizen/wearable/20151120.071026 submit/tizen/20151120.051615
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

8 years agoMerge "hal: tizenaudio reference sink / source add pcm interface" into tizen accepted/tizen/mobile/20151119.033731 accepted/tizen/tv/20151119.033742 accepted/tizen/wearable/20151119.033756 submit/tizen/20151119.030519
KimJeongYeon [Thu, 19 Nov 2015 03:02:40 +0000 (19:02 -0800)]
Merge "hal: tizenaudio reference sink / source add pcm interface" into tizen

8 years agohal: tizenaudio reference sink / source add pcm interface 99/51199/14
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

8 years agopolicy/stream-manager: Refactorying codes between module-policy.c and stream-manager.c 87/51687/11 accepted/tizen/mobile/20151118.063637 accepted/tizen/tv/20151118.063649 accepted/tizen/wearable/20151118.063700 submit/tizen/20151118.044033
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>
8 years agohal-manager: Remove unnecessary code 47/51747/2
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>
8 years agoRemove unnecessary configs 22/51722/1
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

8 years agodevice-manager: Change pa_device_manager_init()/done() to pa_device_manager_ref(... 25/51625/5 accepted/tizen/mobile/20151112.232321 accepted/tizen/tv/20151112.232339 accepted/tizen/wearable/20151112.232347 submit/tizen/20151112.104125
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>
8 years agostream-manager: Fix bug to update route type even if a stream does not have any volum... 79/51679/4 accepted/tizen/mobile/20151112.074725 accepted/tizen/tv/20151112.074731 accepted/tizen/wearable/20151112.074745 submit/tizen/20151112.062411
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>
8 years agostream-manager/hal-manager: revise codes for readability and rename functions 29/51229/3 accepted/tizen/mobile/20151106.045849 accepted/tizen/mobile/20151106.050120 accepted/tizen/tv/20151106.045859 accepted/tizen/tv/20151106.050129 accepted/tizen/wearable/20151106.045914 accepted/tizen/wearable/20151106.050140 submit/tizen/20151105.120840 submit/tizen/20151105.121151 submit/tizen/20151106.015515
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>
8 years agostream-manager: Add volume types information in the return values of GetStreamInfo... 77/50877/5
Sangchul Lee [Tue, 3 Nov 2015 07:12:20 +0000 (16:12 +0900)]
stream-manager: Add volume types information in the return values of GetStreamInfo dbus method

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

Change-Id: I68831b3e42019d3689606100c93736b26cedf5e3

8 years agotizenaudio sink/source: Add hal-manager API for pcm control 96/50896/3
Seonmi Jin [Tue, 3 Nov 2015 07:16:43 +0000 (16:16 +0900)]
tizenaudio sink/source: Add hal-manager API for pcm control

[Version] 5.0.9
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: Ifbcc69f32e458206af4cb68fad523866b0ca5fe8
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agohal-manager: separate libhal-manager.la from module-policy.la 68/50868/2
Seonmi Jin [Tue, 3 Nov 2015 02:24:37 +0000 (11:24 +0900)]
hal-manager: separate libhal-manager.la from module-policy.la

[Version] 5.0.8
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: Ica1dd6b8a0aad46d7d7cb3172e8789cd87b02297
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agochange build require json to json-c 70/50870/1 accepted/tizen/mobile/20151103.075159 accepted/tizen/tv/20151103.075222 accepted/tizen/wearable/20151103.075241 submit/tizen/20151103.063856
Mok Jeongho [Tue, 3 Nov 2015 05:43:38 +0000 (14:43 +0900)]
change build require json to json-c

[Version] 5.0.8
[Profile] Common
[Issue Type] External

Change-Id: I68391deacc2d3768c4fc60068e5f89d08a2adfd4

8 years agodevice-manager: device-manager code enhancement 17/50017/5 accepted/tizen/mobile/20151023.101004 accepted/tizen/tv/20151023.101014 accepted/tizen/wearable/20151023.101023 submit/tizen/20151023.074557
Mok Jeongho [Thu, 22 Oct 2015 01:48:22 +0000 (10:48 +0900)]
device-manager: device-manager code enhancement

[Version] 5.0.7
[Profile] Common
[Issue Type] Code Enhancement

Change-Id: I180974b63b9cdc5cd99173e1461bfc82762ed45f

8 years agostream-manager: Modification of parameters and fix bug that is not removed active... 80/49980/3 accepted/tizen/mobile/20151022.230024 accepted/tizen/tv/20151022.230037 accepted/tizen/wearable/20151022.230049 submit/tizen/20151022.101552
Sangchul Lee [Thu, 22 Oct 2015 08:19:59 +0000 (17:19 +0900)]
stream-manager: Modification of parameters and fix bug that is not removed active device info. of streams

Modification of sequence of parameters and remove duplicates code.
When a device using internal codec is disconnected, retrieve all the streams that have AUTO route type and use the device, and reset active device info.

[Version] 5.0.6
[Profile] Common
[Issue Type] Code clean-up and bug Fix

Change-Id: I28b0e3260359cfc56dbef9cdd6ddd24059992a33

8 years agopolicy/stream-manager: Add break statement for selecting sink/source logic for STREAM... 82/49682/8 accepted/tizen/mobile/20151021.012938 accepted/tizen/tv/20151021.012947 accepted/tizen/wearable/20151021.012954 submit/tizen/20151020.121851
Sangchul Lee [Mon, 19 Oct 2015 01:35:56 +0000 (10:35 +0900)]
policy/stream-manager: Add break statement for selecting sink/source logic for STREAM_ROUTE_TYPE_AUTO and reinforce logic regarding internal audio codec with adding conditions

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

Change-Id: I1ad33d6e1af90db63e40953b913e12e3ebe64c54

8 years agohal-manager: Add pcm APIs that are the wrappers of HAL pcm functions 70/49570/8
Sangchul Lee [Thu, 15 Oct 2015 02:49:14 +0000 (11:49 +0900)]
hal-manager: Add pcm APIs that are the wrappers of HAL pcm functions

[Version] 5.0.4
[Profile] Common
[Issue Type] Enhance feature

Change-Id: I62f71f005f5b104349f9606de2364aed0245dce4

8 years agohal: tizenaudio reference sink / source 48/49348/12 submit/tizen/20151016.064158
KimJeongYeon [Thu, 15 Oct 2015 02:18:16 +0000 (11:18 +0900)]
hal: tizenaudio reference sink / source

[Version] 5.0.3
[Profile] Common
[Issue Type] Features
[Dependency module] NA
[Dependency commit] NA
[Comment]

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

8 years agoCode clean-up and remove build warnings 73/49473/1
Sangchul Lee [Tue, 13 Oct 2015 15:14:25 +0000 (00:14 +0900)]
Code clean-up and remove build warnings

Remove unused enumeration and interfaces in tizen-audio.h and hal-manager.h.
Remove codes regarding extention_cb via protocol-native.

[Version] 5.0.2
[Profile] Common
[Issue Type] Code clean-up

Change-Id: I251e5730252268e5d4bf58c98266c18b4ad84420
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agopolicy: open/close BT SCO internally 97/49397/2 accepted/tizen/mobile/20151013.230701 accepted/tizen/tv/20151013.230710 accepted/tizen/wearable/20151013.230724 submit/tizen/20151013.121604 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Sangchul Lee [Tue, 13 Oct 2015 03:29:17 +0000 (12:29 +0900)]
policy: open/close BT SCO internally

Add codes to open and close BT SCO if it is needed.
Remove build warnings.
Revise versioning policy.

[Version] 5.0.1
[Profile] Common
[Issue Type] Enhance feature

Change-Id: I4e7e50dc50b0a5ad492ac0e6ad2332bcac637a3b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agodevice-manager : modify sco code 60/49160/2 accepted/tizen/mobile/20151008.133000 accepted/tizen/tv/20151008.133012 accepted/tizen/wearable/20151008.133030 submit/tizen/20151008.052952
Mok Jeongho [Wed, 7 Oct 2015 11:33:43 +0000 (20:33 +0900)]
device-manager : modify sco code

Add internal interface to get bt sco status
Set bt-sco as active profile when bt_sco_open method call returned

[Version] 5.0-45
[Profile] Common
[Issue Type] Enhance feature

Change-Id: I127d63485f2e0f481a6ed9853f9d739d6cbb96b1

8 years agostream-manager: Support route type only for external devices (STREAM_ROUTE_TYPE_MANUA... 47/48647/16 accepted/tizen/mobile/20151008.052249 accepted/tizen/tv/20151008.052307 accepted/tizen/wearable/20151008.052331 submit/tizen/20151007.084301 submit/tizen/20151008.043012
Sangchul Lee [Thu, 24 Sep 2015 06:04:03 +0000 (15:04 +0900)]
stream-manager: Support route type only for external devices (STREAM_ROUTE_TYPE_MANUAL_EXT)
device-manager: Add sink/source state changed hook for updating state of external devices
policy: Add routing logic for usecase of external devices

[Version] 5.0-44
[Profile] Common
[Issue Type] Enhance feature

The new route type(STREAM_ROUTE_TYPE_MANUAL_EXT) is only for external audio devices that have their own audio codec.(eg.,usb,bluetooth)
This can be declared in one of entries for stream configuration in stream-map.json file.
With this policy, we can control external devices independently of devices that use internal audio codec.

Change-Id: I6b48d7558a3978b2538de3dbbc8d27209a755ec0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agoremove device item from list before notify device disconnection 66/48966/1 accepted/tizen/mobile/20151004.224945 accepted/tizen/tv/20151004.224955 accepted/tizen/wearable/20151004.225002 submit/tizen/20151002.101617
Mok Jeongho [Fri, 2 Oct 2015 08:40:17 +0000 (17:40 +0900)]
remove device item from list before notify device disconnection

[Version] Release 5.0.43
[Profile] Common
[Issue Type] Fix bug

Change-Id: I076142e74e802613e3d1da365cc27b21db21b218

8 years agoset device_item for sink/source of externel device before notification 91/48891/2
Mok Jeongho [Thu, 1 Oct 2015 08:21:03 +0000 (17:21 +0900)]
set device_item for sink/source of externel device before notification

[Version] Release 5.0.42
[Profile] Common
[Issue Type] Fix bug

Change-Id: I0e40f71c473cb84abb1d6e31341ca1366a7c49ac

8 years agodevice-manager: Get device item with sink/source 27/48627/2
Mok Jeongho [Thu, 24 Sep 2015 03:23:46 +0000 (12:23 +0900)]
device-manager: Get device item with sink/source

[Version] pulseaudio 5.0-41
[Profile] Common

Change-Id: I7a0fa6b53a3756cd9a92b2433b4c68980ca7998b

8 years agoInitial import the package for pulseaudio tizen modules 22/48322/5 accepted/tizen/mobile/20151001.224633 accepted/tizen/tv/20151001.224647 accepted/tizen/wearable/20151001.224702 submit/tizen/20151001.060852
Seonmi Jin [Thu, 17 Sep 2015 05:43:04 +0000 (14:43 +0900)]
Initial import the package for pulseaudio tizen modules

[Version] pulseaudio 5.0-40
[Profile] Common

Change-Id: I34d93c2ee8a39dfa06698862bd8fb204e41bf66b
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agoInitial empty repository MMFWN-4465 master
KyungMi Lee [Thu, 10 Sep 2015 06:30:39 +0000 (23:30 -0700)]
Initial empty repository