platform/core/multimedia/pulseaudio-modules-tizen.git
7 years agostream-manager: Add condition to set active-dev prop. only if it is auto/audio-last... 19/96719/2 accepted/tizen/common/20161122.192945 accepted/tizen/ivi/20161122.235945 accepted/tizen/mobile/20161122.235731 accepted/tizen/tv/20161122.235815 accepted/tizen/wearable/20161122.235852 submit/tizen/20161122.044017
Sangchul Lee [Thu, 10 Nov 2016 03:55:37 +0000 (12:55 +0900)]
stream-manager: Add condition to set active-dev prop. only if it is auto/audio-last-connected routing type

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

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

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

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

Change-Id: I9525604e746470c23085eab9346326a60d2eadf5

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

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

Change-Id: I3875b62ca85388236a68e518b95d7593336ae0f4

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Change-Id: I23f30484d92890e9870ffbefadd0b6db5eb6c12a

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

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

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

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

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

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

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

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

Change-Id: I40a6018caf470ae5019edb1ef1f98e9fc1b5f771

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

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

Change-Id: I70a93307b3d85c727c5d6bb8443e7ec0a76bdcdd
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agodevice-manager : avail-mode for bt 69/86569/11
Mok Jeongho [Thu, 1 Sep 2016 10:33:43 +0000 (19:33 +0900)]
device-manager : avail-mode for bt

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

Change-Id: Iab8597b1eefde9f8f31eff69cc144d86a5d70c30

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

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

Change-Id: I5ce2acd3ae5efe8a139b7a5d3efa8c039fe96ed5

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

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

Change-Id: Icf7ee44fb45dbf34188e889794b8e83b6cac0010

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

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

Change-Id: Id1b0734d38a1be43d156789047fcb32f68a6c1d6

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

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

Change-Id: I3f14f7dcb76f7a53e5da4bbaebe3366915d99f06

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

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

Change-Id: I827b93ef88800e3bd8baf272730946fb492fafea

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

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

Change-Id: Ib0eb97f27c41b5d39baaa81ef508d576f2c7e11a

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

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

Change-Id: Idcc5d739c141ce1f11398f907c7c5db333e2301a

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

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

Change-Id: I3d3f65f119c6324b12ab07b64d0f9198c7a9ec11

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

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

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

Change-Id: I06c07eaf67e0662b97a26dd9fa874d83c37f5ba2

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

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

Change-Id: I1ad7cb0d45ed01dd2f9f522b0ed911609218af4b

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

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

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

Change-Id: Id0cdd6b8f8ab701f878c4e875232dc2a90ce02a7

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

this feature is moved from sound-server

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

Change-Id: I3fef49a79b5121d3ce9a7482fae0fc925042637e

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

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

Change-Id: I72dad87226b001091fe8a7b10f70e8a6b96da975

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

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

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

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

Change-Id: I1194c4cd7f553934f4d82421b4bb8d971110093a

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

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

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

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

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

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

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

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

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

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

removed src/tizen-audio.h file.

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

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

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

Change-Id: I8d39cefbd66eaf363553da9534ffe1188d79e1ca
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
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>