platform/upstream/pulseaudio.git
7 years agoRemove useless bluez build dependancy 08/90108/3 accepted/tizen/3.0/ivi/20161028.151250 accepted/tizen/3.0/mobile/20161015.034047 accepted/tizen/3.0/mobile/20161028.143144 accepted/tizen/3.0/tv/20161016.005556 accepted/tizen/3.0/tv/20161028.143454 accepted/tizen/3.0/wearable/20161015.083926 accepted/tizen/3.0/wearable/20161028.150752 accepted/tizen/common/20161005.165426 accepted/tizen/ivi/20161007.003924 accepted/tizen/mobile/20161007.003658 accepted/tizen/tv/20161007.003814 accepted/tizen/wearable/20161007.003851 submit/tizen/20161005.055916 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_mobile/20161015.000006 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000005
Seungbae Shin [Wed, 28 Sep 2016 10:13:36 +0000 (19:13 +0900)]
Remove useless bluez build dependancy

[Version] 5.0.97
[Profile] Common
[Issue Type] Dependancy

Change-Id: Ided3c925a8d6fa336f8a15a1f2c14992b04564be

7 years agodivide pa_ready and pulseaudio_ready 47/90147/4 accepted/tizen/3.0/ivi/20161011.062156 accepted/tizen/common/20160929.162932 accepted/tizen/ivi/20160930.040728 accepted/tizen/mobile/20160930.040351 accepted/tizen/tv/20160930.040538 accepted/tizen/wearable/20160930.040637 submit/tizen/20160928.043825 submit/tizen_3.0_ivi/20161010.000006
Mok Jeongho [Wed, 28 Sep 2016 13:11:12 +0000 (22:11 +0900)]
divide pa_ready and pulseaudio_ready

Change-Id: Iaa28a573e57df4d2af4eea4bcdd53c7a25454370

7 years agoFix indent 35/88435/5 accepted/tizen/common/20160928.163857
Seungbae Shin [Mon, 19 Sep 2016 05:20:33 +0000 (14:20 +0900)]
Fix indent

[Version] 5.0-95
[Profile] Common
[Issue Type] Code Clean

Change-Id: I442b29170e395a4dca1924072ecabf76270d0b20

7 years agoFix build error 44/88644/1 accepted/tizen/common/20160921.162143 accepted/tizen/ivi/20160922.042612 accepted/tizen/mobile/20160922.042311 accepted/tizen/tv/20160922.042445 accepted/tizen/wearable/20160922.042534 submit/tizen/20160921.041639
Jungsup Lee [Tue, 20 Sep 2016 05:57:28 +0000 (14:57 +0900)]
Fix build error

[Version] 5.0-94
[Profile] Common
[Issue Type] Bug fix

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: I8f275ac13a96677cd17cb9d539e37fe440664d98

7 years agosink-input: do pa_volume_ramp_memchunk before resampling 89/84489/4
Jungsup Lee [Fri, 19 Aug 2016 02:35:32 +0000 (11:35 +0900)]
sink-input: do pa_volume_ramp_memchunk before resampling

Calculation of pa_volume_ramp_t's length is based on sample rate of sink-input.
Therefore, volume ramping is not applied as long as we want if pa_volume_ramp_memchunk is called after resampling.

[Version] 5.0-93
[Profile] Common
[Issue Type] Bug Fix

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: I1dc06c212ee7a8e067957b8419dc9e6056b85da4

7 years agoladspa-sink: avoid to configure invalid format 43/83043/5
KimJeongYeon [Tue, 9 Aug 2016 01:26:59 +0000 (10:26 +0900)]
ladspa-sink: avoid to configure invalid format

LADSPA allows float format only, but module-ladspa-sink possibly
could be loaded with ***any*** 'format' parameter. Therefore noisy
sound heard. This patch avoids to be configured as invalid format.

https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=81c8d380846ffb26d8529abb7a34db6428a2e8ef

[Version] 5.0-92
[Profile] Common
[Issue Type] Bug

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

7 years agorole-ducking: Add silent sound to the start of a trigger stream if it affects any... 61/88461/3
Sangchul Lee [Mon, 19 Sep 2016 07:31:50 +0000 (16:31 +0900)]
role-ducking: Add silent sound to the start of a trigger stream if it affects any ducking stream

A ducking stream's volume will be decreased before starting original data of the trigger stream.

Here's the condition for the activation of it.
1. When a trigger stream belongs to a group that has fading feature,
2. Any ducking stream of the group is currently running.
3. Adding silent sound will be operated when starting the trigger stream.

[Version] 5.0-91
[Profile] Common
[Issue Type] New feature

Change-Id: Ie5ac6cc34d5597c067099d4f44a01fb5c07ca41d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agosink-input: Add new API to let a stream be silent in case of first peeking 39/88439/2
Sangchul Lee [Mon, 19 Sep 2016 03:24:23 +0000 (12:24 +0900)]
sink-input: Add new API to let a stream be silent in case of first peeking

[Version] 5.0-90
[Profile] Common
[Issue Type] New feature

Change-Id: I1368f120c0fe14e63bfc8d51555958965137e035
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoInstall platform upgrade patch script 12/87712/5 accepted/tizen/common/20160912.181220 accepted/tizen/ivi/20160912.215332 accepted/tizen/mobile/20160912.215243 accepted/tizen/mobile/20160921.023815 accepted/tizen/tv/20160912.215256 accepted/tizen/wearable/20160912.215313 submit/tizen/20160912.042351 submit/tizen_mobile/20160921.023558
Seungbae Shin [Fri, 9 Sep 2016 07:30:39 +0000 (16:30 +0900)]
Install platform upgrade patch script

This patch script changes smack label from pulseaudio to System

[Version] 5.0-89
[Profile] Common
[Issue Type] Security

Change-Id: I02085261a9779402489f0c8cd872e9243552f885

7 years agomake pa-ready as feature 27/87627/1
Mok Jeongho [Thu, 8 Sep 2016 07:32:56 +0000 (16:32 +0900)]
make pa-ready as feature

[Version] 5.0-88
[Profile] Common
[Issue Type] Build

Change-Id: I0960f5f8953f0b48b84417a91933b1d0242ba139

7 years agoChange tizen profile definition 43/86843/2
Mok Jeongho [Mon, 5 Sep 2016 07:05:00 +0000 (16:05 +0900)]
Change tizen profile definition

[Version] 5.0-87
[Profile] Common
[Issue Type] Build

Change-Id: I2ec9fc3c3d352ad99201a608c414bb062c905aef

7 years agoApplying light weight ipc 43/84443/1 accepted/tizen/common/20160824.154753 accepted/tizen/ivi/20160825.050422 accepted/tizen/mobile/20160825.050236 accepted/tizen/mobile/20160921.022310 accepted/tizen/tv/20160825.050328 accepted/tizen/wearable/20160825.050350 submit/tizen/20160824.052737
Jungsup Lee [Thu, 18 Aug 2016 11:03:13 +0000 (20:03 +0900)]
Applying light weight ipc

Replace create ready file to create event with lwipc

[Version] 5.0-86
[Profile] TV
[Issue Type] Enhancement

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: Ia5f374df219653364a56a41f115550bf045c7872

7 years agoFix SVACE defects 66/82966/2 accepted/tizen/common/20160811.145655 accepted/tizen/ivi/20160812.010636 accepted/tizen/mobile/20160812.010703 accepted/tizen/tv/20160812.010613 accepted/tizen/wearable/20160812.010543 submit/tizen/20160810.075454 submit/tizen/20160811.023523
Seungbae Shin [Mon, 8 Aug 2016 10:14:08 +0000 (19:14 +0900)]
Fix SVACE defects

[Version] 5.0-85
[Profile] Common
[Issue Type] SVACE

Change-Id: I5d33d98f09fed0b544e9b6aaf275797a069ef85d

7 years agofilter-apply,ladspa-sink,virtual-surround-sink: filter-apply supports ladspa-sink... 94/74394/9
KimJeongYeon [Tue, 14 Jun 2016 06:38:06 +0000 (15:38 +0900)]
filter-apply,ladspa-sink,virtual-surround-sink: filter-apply supports ladspa-sink and virtual-surround-sink properly

Currently, filter-apply doesn't support ladspa-sink based filters, because:
* loading ladspa-sink failed due to some argument mismatched.
  (e.g 'master' used instead of 'sink_master')
* ladspa-sink required additional parameters by default.
  (e.g plugin/label/control/...)

Changes in v1:
* filter-apply able to load ladspa-sink.
* This patch introduces new sink-input(source-output) property to append extra parameters.
  #define PA_PROP_FILTER_APPLY_EXTRA_PARAMETERS  "filter.apply.extra.parameters"
  e.g) paplay file.wav --property=filter.apply=ladspa-sink \
                       --property=filter.apply.extra.parameters="plugin=ladspa label=ladspa_stereo control=0"
* ladspa-sink support autoloaded feature.

Changes in v2:
* Additionally, support virtual-surround-sink too.

[Version] 5.0-84
[Profile] Common
[Issue Type] Feature Enhancement

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

7 years agoSet SmackProcessLabel as System. 76/80876/2 accepted/tizen/common/20160721.175526 accepted/tizen/ivi/20160721.090704 accepted/tizen/mobile/20160721.090331 accepted/tizen/tv/20160721.091221 accepted/tizen/wearable/20160721.090844 submit/tizen/20160721.003054
jin-gyu.kim [Wed, 20 Jul 2016 11:58:46 +0000 (20:58 +0900)]
Set SmackProcessLabel as System.

Change-Id: I5b08731e9a0847a8487bfd1dcc6a7c9cdbec5ee8

7 years agosink-input, source-output: Fix crash when sink/source create with volume sharing... 30/71530/7
KimJeongYeon [Wed, 25 May 2016 21:52:17 +0000 (06:52 +0900)]
sink-input, source-output: Fix crash when sink/source create with volume sharing flag.

Crash occurs always as soon as loading new sink(or source) with
PA_(SINK|SOURCE)_SHARE_VOLUME_WITH_MASTER flag. Because, below
patch does not regarded when a sink enabled volume sharing.
 - https://review.tizen.org/gerrit/#/c/26447/

[Version] 5.0-83
[Profile] Common
[Issue Type] Bug

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

7 years agorole-ducking: Add support for fade-in/fade-out feature 35/79835/5
Sangchul Lee [Wed, 13 Jul 2016 07:03:11 +0000 (16:03 +0900)]
role-ducking: Add support for fade-in/fade-out feature

[Version] 5.0-82
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: I17b2a05dfd888da05af0e9c96a6bc6fe97b228d6
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agopulsecore: Fix calculation of volume ramping methods 40/79840/7 accepted/tizen/common/20160719.172001 accepted/tizen/ivi/20160718.104830 accepted/tizen/mobile/20160718.104910 accepted/tizen/tv/20160718.104635 accepted/tizen/wearable/20160718.104756 submit/tizen/20160718.052709
KimJeongYeon [Wed, 13 Jul 2016 07:33:26 +0000 (16:33 +0900)]
pulsecore: Fix calculation of volume ramping methods

While do volume ramping with logarithmic method, suddenly it returns NaN.
Therefore, no volume effect processed anymore.
This patch fixed NaN error by simpler calculation than before.

[Version] 5.0-81
[Profile] Common
[Issue Type] Bug

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

7 years agorole-ducking: Enhance codes 31/79831/3
Sangchul Lee [Wed, 13 Jul 2016 06:58:32 +0000 (15:58 +0900)]
role-ducking: Enhance codes

 - definition of group structure
 - rename variable and revise logs
 - handle error case of empty parsed string
 - fix codes to follow coding convention for private struct
 - pass pointer directly instead of group index

[Version] 5.0-80
[Profile] Common
[Issue Type] Refactorying

Change-Id: I5fd6904d2b0baf8482c4b6304b856d74fbb87448
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoRevise zero pop log messages 23/79423/4
Seungbae Shin [Mon, 11 Jul 2016 05:09:16 +0000 (14:09 +0900)]
Revise zero pop log messages

1. print only once per second.
2. skip check zero pop if virtual stream.

[Version] 5.0-79
[Profile] All
[Issue Type] MPR-381

Change-Id: I462044f106053ce3f48b3fe56cb845112e569987

7 years agoNotify pop-timeout event to client when there is no data for long time 31/76331/3 accepted/tizen/common/20160704.145305 accepted/tizen/ivi/20160704.090625 accepted/tizen/mobile/20160704.090534 accepted/tizen/tv/20160704.090514 accepted/tizen/wearable/20160704.090409 submit/tizen/20160704.004002
Seungbae Shin [Thu, 23 Jun 2016 11:22:01 +0000 (20:22 +0900)]
Notify pop-timeout event to client when there is no data for long time

default zero-pop-threshold is 10 and this is configurable in daemon.conf

[Version] 5.0-78
[Profile] All
[Issue Type] MPR-381

Change-Id: Iaed83bf989e6e5f21b7536f1a2e4e444040b8856

7 years agoDo not install unused scripts 32/77032/3 accepted/tizen/common/20160703.130257 accepted/tizen/ivi/20160630.063333 accepted/tizen/mobile/20160630.063356 accepted/tizen/tv/20160630.063315 accepted/tizen/wearable/20160630.063252 submit/tizen/20160630.022953 submit/tizen_common/20160701.180000
Seungbae Shin [Tue, 28 Jun 2016 09:58:27 +0000 (18:58 +0900)]
Do not install unused scripts

/etc/bash_completion.d/pulseaudio-bash-completion.sh
/usr/bin/esdcompat

[Version] 5.0-77
[Profile] All
[Issue Type] Security

Change-Id: I1d5595d74422b0f504a78b48e4cbc867c9a3a78a

7 years ago[TV] Fixed build feature TIZEN_PRODUCT_TV 20/76820/2 accepted/tizen/common/20160629.222310 accepted/tizen/ivi/20160629.020201 accepted/tizen/mobile/20160629.020221 accepted/tizen/tv/20160629.020151 accepted/tizen/wearable/20160629.020211 submit/tizen/20160627.103234
Seonmi Jin [Mon, 27 Jun 2016 10:26:45 +0000 (19:26 +0900)]
[TV] Fixed build feature TIZEN_PRODUCT_TV

[Version] 5.0-76
[Profile] TV

Change-Id: I80c6e85302568f59093984c7a935404f1b05ba50
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
7 years agoprotocol-native: Update buffer attributes only when values are -1 or not set by client 13/75513/6
Sangchul Lee [Mon, 20 Jun 2016 07:51:36 +0000 (16:51 +0900)]
protocol-native: Update buffer attributes only when values are -1 or not set by client

"tlength" is always set to default value from pa_stream_new_with_proplist_internal() in stream.c.
So, we use tlength from stream-map.json except -1.
The other attribues will be maintained if client set those to any values except -1.

[Version] 5.0-75
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: I305387083d7953bb624b17cc070c6d7c45c1a089
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years ago[TV] disable rewind feature for TV profile 94/74894/3 accepted/tizen/common/20160620.162504 accepted/tizen/ivi/20160617.082446 accepted/tizen/mobile/20160617.081932 accepted/tizen/tv/20160617.082033 accepted/tizen/wearable/20160617.082134 submit/tizen/20160616.065630
KimJeongYeon [Thu, 16 Jun 2016 04:28:35 +0000 (13:28 +0900)]
[TV] disable rewind feature for TV profile

[Version] 5.0-73
[Profile] TV
[Issue Type] Code merge

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

7 years agoRename function for updating buffer attributes 12/74312/4
Sangchul Lee [Mon, 13 Jun 2016 23:49:18 +0000 (08:49 +0900)]
Rename function for updating buffer attributes

It's not going to get from audio HAL, so the name is changed.

[Version] 5.0-73
[Profile] Common
[Issue Type] Revise

Change-Id: Id32a2c39da81186dbad77fd2e2743afd76e7caba
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoDo not use USE_SECURITY in libpulse header 18/71118/2 accepted/tizen/common/20160526.145823 accepted/tizen/common/20160526.145903 accepted/tizen/common/20160531.141842 accepted/tizen/ivi/20160602.020547 accepted/tizen/ivi/20160602.022047 accepted/tizen/mobile/20160602.020417 accepted/tizen/mobile/20160602.022123 accepted/tizen/tv/20160602.020519 accepted/tizen/tv/20160602.021906 accepted/tizen/wearable/20160602.020452 accepted/tizen/wearable/20160602.022018 submit/tizen/20160524.060031 submit/tizen/20160524.075609 submit/tizen/20160530.013417
Mok Jeongho [Tue, 24 May 2016 07:20:07 +0000 (16:20 +0900)]
Do not use USE_SECURITY in libpulse header

[Version] 5.0-72
[Profile] Common
[Issue Type] Fix error

Change-Id: I4aaab37fa13a46bcb1c60e00f23c9e8c35a6f68b

7 years agoNew context API for privilege check 78/70978/6
Mok Jeongho [Mon, 23 May 2016 12:17:22 +0000 (21:17 +0900)]
New context API for privilege check

[Version] 5.0-71
[Profile] Common
[Issue Type] New feature

Change-Id: Ib6367f9c50c2bae02fb16571aa1869c8410bec1e

7 years ago[TV] Add configuration --enable-prelink 88/69988/2
Seonmi Jin [Tue, 17 May 2016 13:09:47 +0000 (22:09 +0900)]
[TV] Add configuration --enable-prelink

if !USE_PRELINK
CFLAGS += -fPIC -pie

[Version] 5.0-70
[Profile] TV
[Issue Type] Build Configuration

Change-Id: I68cd5e174d3a282666d6744a2fc4ca8e9d787afa
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agobluetooth: Add SuspendMedia method 19/66619/8 accepted/tizen/common/20160513.123224 accepted/tizen/ivi/20160513.004147 accepted/tizen/mobile/20160513.004025 accepted/tizen/tv/20160513.004125 accepted/tizen/wearable/20160513.004052 submit/tizen/20160512.051443
DoHyun Pyun [Fri, 29 May 2015 07:37:52 +0000 (16:37 +0900)]
bluetooth: Add SuspendMedia method

In tizen 2.4 we consider the senairo with SCO open / close and A2DP suspend.
For this functionality apply the method and signal handlering code.

[Version] 5.0-65
[Profile] Common
[Issue Type] New feature

Change-Id: I5fc636549e941e0593639506591889aaeb9ac435
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years ago[TV] sync TV code (.pa_ready generation & adjust TV profile check priority) 01/68201/2 accepted/tizen/common/20160504.125845 accepted/tizen/ivi/20160504.011129 accepted/tizen/mobile/20160504.011035 accepted/tizen/tv/20160504.011054 accepted/tizen/wearable/20160504.011110 submit/tizen/20160503.074218
Seungbae Shin [Tue, 3 May 2016 04:05:47 +0000 (13:05 +0900)]
[TV] sync TV code (.pa_ready generation & adjust TV profile check priority)

[Version] 5.0-69
[Profile] TV
[Issue Type] Code merge

Change-Id: I6301a8f5751cb6c80b1e0b427b9f49dfc9196b1c

8 years ago[TV] Modified pulseaudio.service for TV profile 08/64908/7 accepted/tizen/common/20160504.125004 accepted/tizen/ivi/20160503.011419 accepted/tizen/mobile/20160503.011314 accepted/tizen/tv/20160503.011343 accepted/tizen/wearable/20160503.011401 submit/tizen/20160502.101731
Seonmi Jin [Wed, 6 Apr 2016 06:30:43 +0000 (15:30 +0900)]
[TV] Modified pulseaudio.service for TV profile

[Version] 5.0-68
[Profile] TV
[Issue Type] Code merge

Change-Id: Ib7433d694f9b34b8e127db757bf0340c10984f9d
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agoAdd null checking for getting buffer attribute and add error checking for hook fire... 84/67584/2
Sangchul Lee [Wed, 27 Apr 2016 05:27:57 +0000 (14:27 +0900)]
Add null checking for getting buffer attribute and add error checking for hook fire of sink-input/source-output new

regarding error checking of hook fire is partially from
 : https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=08800c35b072820ba485a5a0a211ce91a1656390

[Version] 5.0-67
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: Id0ddc4f0caf678ceda996524ff39c3f58aee2f5a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agoRemove PA_ERR_ACCESS_BY_SECURITY added by Tizen rather use PA_ERR_ACCESS 09/67509/1
Sangchul Lee [Wed, 27 Apr 2016 05:37:59 +0000 (14:37 +0900)]
Remove PA_ERR_ACCESS_BY_SECURITY added by Tizen rather use PA_ERR_ACCESS

[Version] 5.0-66
[Profile] Common
[Issue Type] CleanUp

Change-Id: I047272046953bff79b3c0593ae136eb50b9ce39f

8 years ago[upstream] rtp-recv: fix crash on empty UDP packets (CVE-2014-3970) 00/67100/1 accepted/tizen/common/20160426.143035 accepted/tizen/ivi/20160425.231737 accepted/tizen/mobile/20160425.231715 accepted/tizen/tv/20160425.231732 accepted/tizen/wearable/20160425.231725 submit/tizen/20160425.080416
Seungbae Shin [Mon, 25 Apr 2016 07:38:29 +0000 (16:38 +0900)]
[upstream] rtp-recv: fix crash on empty UDP packets (CVE-2014-3970)

Patch from:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=26b9d22dd24c17eb118d0205bf7b02b75d435e3c

Original commit msg:
"On FIONREAD returning 0 bytes, we cannot return success, as the caller
(rtpoll_work_cb in module-rtp-recv.c) would then try to
pa_memblock_unref(chunk.memblock) and, because memblock is NULL, trigger
an assertion.

Also we have to read out the possible empty packet from the socket, so
that the kernel doesn't tell us again and again about it.

Change-Id: Ie7d2db03c793640d3e91b29442c186b52e024dff
Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>"
8 years agoRemove unused function added by Tizen 93/63293/2
Seungbae Shin [Wed, 23 Mar 2016 05:02:51 +0000 (14:02 +0900)]
Remove unused function added by Tizen

- pa_context_set_cork_all()
- pa_context_set_default_sink_by_api_bus()
- pa_context_set_default_sink_for_usb()
- pa_simple_mute()
- pa_simple_get_final_latency()
- pa_simple_set_volume()
- pa_simple_cork()
- pa_simple_is_corked()

[Version] 5.0-65
[Profile] Common
[Issue Type] CleanUp

Change-Id: I3ed831406393a8ea3ef9729336fa05bf5bb5765f

8 years agoFix build warning 39/64439/1
Mok Jeongho [Fri, 1 Apr 2016 07:35:27 +0000 (16:35 +0900)]
Fix build warning

[Version] 5.0-64
[Profile] Common
[Issue Type] Fix Warning

Change-Id: Ibff741e3997bf34abf6c4144d9f0e79a9228244f

8 years agoRemove gconf dependancy 61/63261/1 accepted/tizen/common/20160329.051137 accepted/tizen/ivi/20160323.140514 accepted/tizen/mobile/20160323.134730 accepted/tizen/tv/20160323.135242 accepted/tizen/wearable/20160323.134846 submit/tizen/20160323.051632 submit/tizen_common/20160328.015238
Seungbae Shin [Wed, 23 Mar 2016 04:09:40 +0000 (13:09 +0900)]
Remove gconf dependancy

[Version] 5.0-63
[Profile] Common
[Issue Type] Build

Change-Id: I531c89e518f823d3cf1ff696084e072a9a568b6f

8 years agoFix invalid cynara so link 28/62028/1 accepted/tizen/common/20160315.220930 accepted/tizen/ivi/20160315.001320 accepted/tizen/mobile/20160315.001233 accepted/tizen/tv/20160315.001246 accepted/tizen/wearable/20160315.001304 submit/tizen/20160314.025710
Seungbae Shin [Mon, 14 Mar 2016 02:52:00 +0000 (11:52 +0900)]
Fix invalid cynara so link

[Version] 5.0-62
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I751ab07ee03fc9659e8b629eea520c0f81063086

8 years agoAdd privilege check on dbus policy configuration (with some cleanups) 97/59297/3 accepted/tizen/common/20160302.193645 accepted/tizen/ivi/20160302.223921 accepted/tizen/mobile/20160302.223830 accepted/tizen/tv/20160302.224013 accepted/tizen/wearable/20160302.223908 submit/tizen/20160302.051733
Seungbae Shin [Fri, 12 Feb 2016 07:54:41 +0000 (16:54 +0900)]
Add privilege check on dbus policy configuration (with some cleanups)

[Version] 5.0-61
[Profile] Common
[Issue Type] Privilege

Change-Id: I10830d84e38f7e7c34a7fd0d7783c7cc60d9bced

8 years agoEnable dlog build 20/60620/1
Seungbae Shin [Mon, 29 Feb 2016 10:30:18 +0000 (19:30 +0900)]
Enable dlog build

[Version] 5.0-60
[Profile] Common
[Issue Type] Etc.

Change-Id: Ib201b314ef9b5f3b6c28313dc29081fdc424036a

8 years agorole-ducking: Add support for ducking group 39/59839/3 accepted/tizen/common/20160301.120602 accepted/tizen/ivi/20160225.081404 accepted/tizen/mobile/20160225.081316 accepted/tizen/tv/20160225.081329 accepted/tizen/wearable/20160225.081349 submit/tizen/20160224.091054 submit/tizen_common/20160229.190608
Sangchul Lee [Fri, 5 Feb 2016 04:47:34 +0000 (13:47 +0900)]
role-ducking: Add support for ducking group

Now, trigger_roles, ducking_roles and volume can be divided into several groups by slash.
That means each group can be affected by its own volume policy.
And it works the same way as before without any slash.

[Version] 5.0-59
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: I27475733968d36ed5c0df7b98e6e53c09e6c3de6
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agorole-cork: Fix improper uncork behavior in case of operating globally 61/58861/3
Sangchul Lee [Thu, 4 Feb 2016 23:52:23 +0000 (08:52 +0900)]
role-cork: Fix improper uncork behavior in case of operating globally

Fix improper uncork behavior when using this module with "global=1" argument.

[Version] 5.0-58
[Profile] Common
[Issue Type] Fix Bug

Change-Id: Id573f774b66f0f791727f5d1ff7868922f4491df
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agorole-ducking: Fix improper unducking behavior in case of operating globally 48/58848/2
Sangchul Lee [Thu, 4 Feb 2016 04:29:07 +0000 (13:29 +0900)]
role-ducking: Fix improper unducking behavior in case of operating globally

Fix improper unducking behavior when using this module with "global=1" argument.

[Version] 5.0-57
[Profile] Common
[Issue Type] Fix Bug

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

8 years agomodule-udev-detect : Consider possibility of no parent-device subsystem 26/56826/2 accepted/tizen/ivi/20160218.025840 accepted/tizen/mobile/20160114.011614 accepted/tizen/tv/20160114.011635 accepted/tizen/wearable/20160114.011655 submit/tizen/20160113.071230 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000007
Mok Jeongho [Wed, 13 Jan 2016 02:27:12 +0000 (11:27 +0900)]
module-udev-detect : Consider possibility of no parent-device subsystem

[Version] 5.0-56
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I3e1e091c111518cd2373b043f81074ae5c2eb863

8 years agoEnable pcm-dump only for sink-input 06/56106/1
Mok Jeongho [Mon, 4 Jan 2016 06:07:21 +0000 (15:07 +0900)]
Enable pcm-dump only for sink-input

[Version] 5.0-55
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I3115490ec4b4adc18821d35011225a729f56e383

8 years agoRemove the bluez dependency in the hawkp profile 04/56004/1 accepted/tizen/mobile/20151231.073720 accepted/tizen/tv/20151231.073738 accepted/tizen/wearable/20151231.073754 submit/tizen/20151231.044306
Hyuk Lee [Thu, 31 Dec 2015 02:55:59 +0000 (11:55 +0900)]
Remove the bluez dependency in the hawkp profile

Change-Id: If2c44cfacd093b5194193455c582a4d1c6efa849
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoModify license 11/55811/2 accepted/tizen/mobile/20151230.113609 accepted/tizen/tv/20151230.113643 accepted/tizen/wearable/20151230.113710 submit/tizen/20151229.105727
Seungbae Shin [Tue, 29 Dec 2015 10:52:49 +0000 (19:52 +0900)]
Modify license

Change-Id: I80c9daac57918597d2767867c3aa1ca8084c74a0

8 years agoRemove unnecessary code 86/54586/2 accepted/tizen/mobile/20151217.021944 accepted/tizen/tv/20151217.021800 accepted/tizen/wearable/20151217.021820 submit/tizen/20151216.101300 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Mok Jeongho [Wed, 16 Dec 2015 08:31:55 +0000 (17:31 +0900)]
Remove unnecessary code

[Version] 5.0-53
[Profile] Common
[Issue Type] Code clean-up

Change-Id: I9fcdd4d2a01595cfc655260c7e64ac6b7411bc4e

8 years agoDo not abort on EAGAIN of snd_pcm_writei in alsa-sink 79/54579/2
Mok Jeongho [Wed, 16 Dec 2015 07:53:38 +0000 (16:53 +0900)]
Do not abort on EAGAIN of snd_pcm_writei in alsa-sink

[Version] 5.0-52
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I13fb9634ff61972298510a432f8a1c9f275ab6ae

8 years ago[Security] remove "User" exec-label from manifest to run as "System" domain 77/54177/2 accepted/tizen/mobile/20151214.233706 accepted/tizen/tv/20151214.233720 accepted/tizen/wearable/20151214.233741 submit/tizen/20151214.085057
Seungbae Shin [Mon, 14 Dec 2015 02:54:28 +0000 (11:54 +0900)]
[Security] remove "User" exec-label from manifest to run as "System" domain

Change-Id: Ic7442d1ad06fe6a097679b9f621cc371008ef2b8

8 years ago[Security] return security error properly & revise cynara code 66/53966/3
Seungbae Shin [Thu, 10 Dec 2015 11:39:28 +0000 (20:39 +0900)]
[Security] return security error properly & revise cynara code

Change-Id: I6c83acc03f96fd5c81dc3a1b7ef0d8d9933e6424

8 years agoDo not check privilege on virtual stream. 60/53160/1 accepted/tizen/mobile/20151203.230520 accepted/tizen/tv/20151203.230536 accepted/tizen/wearable/20151203.230556 submit/tizen/20151203.021312
Mok Jeongho [Wed, 2 Dec 2015 08:22:23 +0000 (17:22 +0900)]
Do not check privilege on virtual stream.

[Version] 5.0-50
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I34ef8aaed5b1f7a8e431d57d9b1ab61433f50253

8 years agoRemove tdb dependancy 00/52500/2 accepted/tizen/mobile/20151124.233850 accepted/tizen/tv/20151124.233902 accepted/tizen/wearable/20151124.233920 submit/tizen/20151124.083755
Seungbae Shin [Tue, 24 Nov 2015 02:57:27 +0000 (11:57 +0900)]
Remove tdb dependancy

Let pulseaudio use default(simple) database backend.

Change-Id: I37be4305a85654ebb2ab13ebead9c62c5ffb3426

8 years agoApply cynara privilege checks 33/49733/8 submit/tizen/20151124.032134
Oskar Åšwitalski [Mon, 19 Oct 2015 07:24:29 +0000 (09:24 +0200)]
Apply cynara privilege checks

Check following privileges:
"http://tizen.org/privilege/volume.set"
"http://tizen.org/privilege/recorder"

Change-Id: I3ee682cef72dd8e47bd33cd5bdd2fe2100a7d9f0
Signed-off-by: Oskar Åšwitalski <o.switalski@samsung.com>
8 years agomodule-alsa: Removed dependency of tizen-audio.h in the module-alsa 82/51682/2 accepted/tizen/mobile/20151112.232319 accepted/tizen/tv/20151112.232337 accepted/tizen/wearable/20151112.232345 submit/tizen/20151112.104125
Seonmi Jin [Thu, 12 Nov 2015 05:20:34 +0000 (14:20 +0900)]
module-alsa: Removed dependency of tizen-audio.h in the module-alsa

[Version] 5.0-48
[Profile] Common

Change-Id: I2e5567a5c329a7880f79aa2e65e035a6c4221342
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agoModify json pc dependancy due to json version upgrade 92/50792/1 accepted/tizen/mobile/20151103.024606 accepted/tizen/tv/20151103.024619 accepted/tizen/wearable/20151103.024630 submit/tizen/20151102.100751
Seungbae Shin [Mon, 2 Nov 2015 08:24:43 +0000 (17:24 +0900)]
Modify json pc dependancy due to json version upgrade

[Version] 5.0-47
[Profile] Common
[Issue Type] External

Change-Id: I6fec6c018274c9d5dd5165843a712c3f4de6f7ff

8 years agohal: modify tizen-audio.h 84/49684/2 accepted/tizen/mobile/20151021.012854 accepted/tizen/tv/20151021.012906 accepted/tizen/wearable/20151021.012914 submit/tizen/20151020.121838
Sangchul Lee [Mon, 19 Oct 2015 01:44:18 +0000 (10:44 +0900)]
hal: modify tizen-audio.h

[Version] 5.0-46
[Profile] Common
[Issue Type] API modification

Change-Id: I4b3168ca4c8f439f1aa767b74e5fb62c54440b2e

8 years agohal: tizenaudio reference sink / source 77/49577/3 submit/tizen/20151016.062938 submit/tizen/20151016.064158
KimJeongYeon [Thu, 15 Oct 2015 07:09:30 +0000 (16:09 +0900)]
hal: tizenaudio reference sink / source

[Version] 5.0-45
[Profile] Common
[Issue Type] Features
[Dependency module] NA
[Dependency commit] NA
[Comment]

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

8 years agoCode clean-up and remove ext-policy feature (no use anymore) 74/49474/3
Sangchul Lee [Tue, 13 Oct 2015 12:37:54 +0000 (21:37 +0900)]
Code clean-up and remove ext-policy feature (no use anymore)

[Version] 5.0-44
[Profile] Common

Change-Id: I0c13d470daa203d19b25b122226cec4387789671

8 years agoAdd variable for checking if it uses internal codec in sink/source 84/49084/1 accepted/tizen/mobile/20151008.004605 accepted/tizen/tv/20151008.004612 accepted/tizen/wearable/20151008.004626 submit/tizen/20151007.084157 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Sangchul Lee [Tue, 6 Oct 2015 08:14:54 +0000 (17:14 +0900)]
Add variable for checking if it uses internal codec in sink/source

[Version] 5.0-43
[Profile] Common

Change-Id: If5d0e98566a78321b0df433d2f7841b3602f5520

8 years agoInclude combine-sink/null-source to pulseaudio packacge 00/48700/1
Sangchul Lee [Fri, 25 Sep 2015 06:36:44 +0000 (15:36 +0900)]
Include combine-sink/null-source to pulseaudio packacge

[Version] 5.0-42
[Profile] Common

Change-Id: I7caca58a17b71ff28861e8450c532d9acc9cad41

8 years agoRemoved modules regarding tizen platform 43/48343/3 accepted/tizen/mobile/20151001.224631 accepted/tizen/tv/20151001.224646 accepted/tizen/wearable/20151001.224700 submit/tizen/20151001.060852
Seonmi Jin [Fri, 18 Sep 2015 08:41:08 +0000 (17:41 +0900)]
Removed modules regarding tizen platform

move to pulseaudio-modules-tizen pkg

[Version] 5.0-41
[Profile] Common
[Dependency module] pulseaudio-modules-tizen
[Dependency commit] d4d9b738bb1645f13a89bab176321a7fe525073c

Change-Id: I395fad1e6f950eedc3c4545d49914ca674169418
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agodevice-manager set/get state with direction 08/48208/8
Mok Jeongho [Wed, 16 Sep 2015 06:23:43 +0000 (15:23 +0900)]
device-manager set/get state with direction

Change-Id: I259d1ed6d3b36c90ea1e2d1900aa8b40c87e2b21

8 years agobuild install pulsecore headers 30/47830/3
Seonmi Jin [Wed, 9 Sep 2015 06:19:39 +0000 (15:19 +0900)]
build install pulsecore headers

This is for building out-of-tree modules
Original Patch
https://github.com/mer-packages/pulseaudio/blob/master/rpm/1002-build-Install-pulsecore-headers.patch

[Version] 5.0-39
[Profile] Common

Change-Id: I7f2cf28a500ea36e20a470e96b97d4881114d4db
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agonotify device disconnection before device-item release sink/source 29/47829/3
Mok Jeongho [Wed, 9 Sep 2015 08:06:55 +0000 (17:06 +0900)]
notify device disconnection before device-item release sink/source

[Version] 5.0-39
[Profile] Common
[Issue Type] bug fix

Originally, device disconnection notification is sent after
device-item/profile-item throw away its unlinked sink or source.
(exactly, not unlinked state, because this job is done when sink_unlink_hook callback called
, which is called before doing finalize jobs and making it unlinked state)
But this can be problem when someone want to access to device-item's sink
on device disconnected hook callback. (ex. for get sink-input of that sink)
So notification of device disconnection timing is moved before
release sink/source.

Change-Id: I06e7d3030403e899d24f81ab0ef6f9b1bc7dd280
Signed-off-by: Mok Jeongho <jho.mok@samsung.com>
8 years agopolicy: Fix seg.fault caused by calling pa_streq() with null 27/47727/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150908.231612 accepted/tizen/tv/20150908.231648 accepted/tizen/wearable/20150908.231626 submit/tizen/20150908.083928 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Sangchul Lee [Tue, 8 Sep 2015 07:48:58 +0000 (16:48 +0900)]
policy: Fix seg.fault caused by calling pa_streq() with null

[Version] 5.0-38
[Profile] Common
[Issue Type] bug fix

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

8 years agoReplace strcmp with pa_streq in device-manager 88/47388/2
Mok Jeongho [Thu, 3 Sep 2015 03:45:09 +0000 (12:45 +0900)]
Replace strcmp with pa_streq in device-manager

[Version] 5.0-37
[Profile] Common
[Issue TypeB] Code Enhancement

Change-Id: I08275117e4991bb3ca25d6c0ae05bf5e1dba8c1a

8 years agoenable udev with usb only 30/47230/2 accepted/tizen/mobile/20150902.004207 accepted/tizen/tv/20150902.004220 accepted/tizen/wearable/20150902.004224 submit/tizen/20150901.085443
Mok Jeongho [Tue, 1 Sep 2015 07:35:00 +0000 (16:35 +0900)]
enable udev with usb only

[Version] 5.0-36
[Profile] Common
[Issue TypeB] Bug Fix

Change-Id: Id77715dae5423529d44c64f87215b30358946feb

8 years agoFix bug when reference member of sink/source with PA_DEVICE 04/47204/4
Mok Jeongho [Mon, 31 Aug 2015 05:23:15 +0000 (14:23 +0900)]
Fix bug when reference member of sink/source with PA_DEVICE

[Version] 5.0-35
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I35baa4ccafb88c187a771d9814f818c79b21c10d

8 years agopolicy: Support master volume level 40/46740/2 accepted/tizen/mobile/20150828.011900 accepted/tizen/tv/20150828.011921 accepted/tizen/wearable/20150828.011934 submit/tizen/20150827.090328
Sangchul Lee [Wed, 5 Aug 2015 02:03:47 +0000 (11:03 +0900)]
policy: Support master volume level

It makes possible to control overall volumes regardless of the volume type of streams.

[Version] 5.0-34
[Profile] Common
[Issue Type] New feature

Change-Id: If0832de4e8aa8b3d0fa5571780cc41e2ffc4e8e5
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agosound-player: Read data from pipe with non-blocking mode 08/46008/3 accepted/tizen/mobile/20150819.235400 accepted/tizen/tv/20150819.235410 accepted/tizen/wearable/20150819.235429 submit/tizen/20150819.063347
Sangchul Lee [Thu, 13 Aug 2015 07:22:39 +0000 (16:22 +0900)]
sound-player: Read data from pipe with non-blocking mode

When the client request comes from pipe, it calls read function with non-blocking mode.
It leads to avoid blocking of the context even if the pipe does not work well.
Fix bug for invalid check routine of the return value.

[Version] 5.0-33
[Profile] Common
[Issue Type] Enhance codes

Change-Id: Id62ef8a2f867d21ffaf704577246b96029a67191
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agopolicy: Add skip routine for the specific name of a stream 02/45802/2 accepted/tizen/mobile/20150813.011846 accepted/tizen/tv/20150813.011902 accepted/tizen/wearable/20150813.011929 submit/tizen/20150811.122753 submit/tizen/20150812.065628
Sangchul Lee [Tue, 11 Aug 2015 10:18:51 +0000 (19:18 +0900)]
policy: Add skip routine for the specific name of a stream

There are streams that need to be skipped processing in stream-manager.
Fix bug regarding setting device state in module-policy.c.

[Version] 5.0-32
[Profile] Common
[Issue Type] Enhance codes

Change-Id: Ib95f60f14e6e7098561cf9c3277b97dca225cb46
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agodevice-manager : remove build warning 41/45641/2 submit/tizen/20150810.104433 submit/tizen/20150811.051325
Mok Jeongho [Fri, 7 Aug 2015 07:30:17 +0000 (16:30 +0900)]
device-manager : remove build warning

[Version] 5.0-31
[Profile] Common
[Issue Type] Remove Warning

Change-Id: I33e73c68c5ce78e6c56a2fbcf3d5cdbae98c6a72

8 years agoDisable "XDG standard for the runtime dir" 59/45659/1 submit/tizen/20150810.080551
Seungbae Shin [Mon, 10 Aug 2015 08:02:04 +0000 (17:02 +0900)]
Disable "XDG standard for the runtime dir"

Change-Id: I0e1174dde0e8a75a611ab0b5ca8de0a708d5f02e

8 years agopolicy: Apply the stream focus status that is used to determine the audio routing 76/45576/3
Sangchul Lee [Fri, 7 Aug 2015 11:28:57 +0000 (20:28 +0900)]
policy: Apply the stream focus status that is used to determine the audio routing

Keep the routing of an stream if it has got a focus(playback/capture) even if any stream tries to play.
Code clean-up.

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

Change-Id: I6b801c0c46c8dce1bef88d46bbd3dd31b04578c0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agopolicy: pulseaudio changed latency type to string 79/44979/4 accepted/tizen/mobile/20150731.102717 accepted/tizen/tv/20150731.102834 accepted/tizen/wearable/20150731.102953 submit/tizen/20150731.062345
KimJeongYeon [Thu, 30 Jul 2015 08:23:07 +0000 (17:23 +0900)]
policy: pulseaudio changed latency type to string

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

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

8 years agopolicy/sound-player: Remove build warnings 34/44834/4 accepted/tizen/mobile/20150730.074350 accepted/tizen/tv/20150730.074628 accepted/tizen/wearable/20150730.074819 submit/tizen/20150729.123023
Sangchul Lee [Mon, 27 Jul 2015 12:02:41 +0000 (21:02 +0900)]
policy/sound-player: Remove build warnings

[Version] 5.0-27
[Profile] Common
[Issue Type] Code clean-up

Change-Id: Ia299b8fb764c34f2bf53af34347c193c4f34bbf1

8 years agopolicy: Include omitted header 63/44763/1 accepted/tizen/mobile/20150728.000037 accepted/tizen/tv/20150728.000125 accepted/tizen/wearable/20150728.000210 submit/tizen/20150727.121758
Sangchul Lee [Mon, 27 Jul 2015 12:05:16 +0000 (21:05 +0900)]
policy: Include omitted header

[Version] 5.0-26
[Profile] Common
[Issue Type] Fix bug

Change-Id: I6a804eba891dc1795c1822f6bbad4ebd55d8df85

8 years agoFix code for earjack connection interface changed. 11/44711/1 accepted/tizen/mobile/20150727.235818 accepted/tizen/tv/20150727.235913 accepted/tizen/wearable/20150727.235957 submit/tizen/20150727.105253
Mok Jeongho [Fri, 24 Jul 2015 01:20:22 +0000 (10:20 +0900)]
Fix code for earjack connection interface changed.

[Version] 5.0-24
[Profile] Common
[Issue Type] Fix bug

Change-Id: Iea1798587865b2d503fc8a7cf6485f34ca191c78
Signed-off-by: Mok Jeongho <jho.mok@samsung.com>
8 years agopolicy: Add channel-map information to the stream (in sink-input new callback) 21/44621/3 accepted/tizen/mobile/20150724.132540 accepted/tizen/tv/20150724.132548 accepted/tizen/wearable/20150724.132604 submit/tizen/20150724.085044
Sangchul Lee [Fri, 24 Jul 2015 03:08:03 +0000 (12:08 +0900)]
policy: Add channel-map information to the stream (in sink-input new callback)

Fix bug - pa_sink_input_new() failed due to the lack of channel-map information whereas the volume channel is set.

[Version] 0.5-24
[Profile] Common
[Issue Type] Fix bug

Change-Id: I3be247e78c528ab2c53227a269b6f784a196ab62

8 years agoBug fix : pulseaudio crash when load module-alsa-card 62/44462/1
jungsup lee [Fri, 22 May 2015 04:09:15 +0000 (13:09 +0900)]
Bug fix : pulseaudio crash when load module-alsa-card

In case of alsa-ucm is not available for deteched alsa-card(ex. usb devices)
Pulseaudio is crashed when module-alsa-card is loading

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

Change-Id: Ib3974be5dc5a350d8f4498f54773e6b864bdec80
Signed-off-by: jungsup lee <jungsup4.lee@samsung.com>
8 years agoFix crash, and some debugging code 04/43704/3 accepted/tizen/mobile/20150717.002852 accepted/tizen/tv/20150717.002907 accepted/tizen/wearable/20150717.002921 submit/tizen/20150715.092047 submit/tizen/20150716.043920
Jeongho Mok [Mon, 13 Jul 2015 08:47:22 +0000 (17:47 +0900)]
Fix crash, and some debugging code

[Version] 0.5-23
[Profile] Common
[Issue Type] crash

Change-Id: Icf792dc017950701b3acb1f6df36273dd695ef22
Signed-off-by: Jeongho Mok <jho.mok@samsung.com>
8 years agosound-player: Support EOS signal 91/43891/1
Sangchul Lee [Wed, 15 Jul 2015 05:53:16 +0000 (14:53 +0900)]
sound-player: Support EOS signal

Send the end of stream dbus signal when the stream played by dbus method(SimplePlay/SamplePlay) is finished

[Version] 0.5-22
[Profile] Common
[Issue Type] feature enhancement

Change-Id: I42cf7dd2630b90b14edf5ee02d5041851e954678

8 years agopolicy: Modify API for updating routing option in stream-manager 73/43873/3
Sangchul Lee [Wed, 15 Jul 2015 01:23:41 +0000 (10:23 +0900)]
policy: Modify API for updating routing option in stream-manager

Support name and its value of the option

[Version] 0.5-21
[Profile] Common
[Issue Type] Enhancement feature

Change-Id: I231e3c498492211d5209315f3e7c1be970b2dea9

8 years agoModify pulseaudio-system.conf file for updating dbus access right, policy/sound-playe... 07/42107/6
Sangchul Lee [Tue, 23 Jun 2015 09:16:01 +0000 (18:16 +0900)]
Modify pulseaudio-system.conf file for updating dbus access right, policy/sound-player: change dbus path

[Version] 0.5-20
[Profile] Common
[Issue Type] access right

Change-Id: Ia2c9657bab3ba727df067305733ce7111b3612c4

8 years agopolicy: Modify device-manager and stream-manager 38/42038/2
Jeongho Mok [Mon, 11 May 2015 04:00:03 +0000 (13:00 +0900)]
policy: Modify device-manager and stream-manager

Support BT SCO on/off/get-property interface to device-manager
Modify device-manager possible to have only playback devices
Use device.string for identify sink/source in device-manager
Send volume changed signal through dbus interface in stream-manager

[Version] 0.5-19
[Profile] Common
[Issue Type] add features and modify logic

Change-Id: Ia6a75e0e2baa8ab6f040c27787af681ef59c2916
Signed-off-by: Jeongho Mok <jho.mok@samsung.com>
8 years agopolicy: Add features and revise codes 37/42037/2
Sangchul Lee [Mon, 4 May 2015 11:32:04 +0000 (20:32 +0900)]
policy: Add features and revise codes

Add dbus method to get current volume type in stream-manager.c
Add combine-sink usecase in module-policy.c (support BT device with AUTO_ALL route type)
Add sink-input move start/finish callback for muting/unmuting in stream-manager.c
Trigger to change routing path and to inform stream connection info when the state of stream is changed
Change pa_idxset_remove_all to pa_idxset_remove_by_data to avoid abnormal behavior
Revise manual routing logic (available for resetting routing per direction)
Fix memory leaks in stream-manager.c/stream-manager-volume.c

[Version] 0.5-18
[Profile] Common
[Issue Type] add features and fix bugs

Change-Id: Ia1b539f17236f93fd5fd0df2fafd9e1414e06a6e

8 years agopolicy: Revise codes to enable feature and clean-up 31/42031/2
Seungbae Shin [Thu, 7 May 2015 05:15:14 +0000 (14:15 +0900)]
policy: Revise codes to enable feature and clean-up

Enable device-manager
Remove unused functions
Disable deprecated policy extension functions

[Version] 0.5-17
[Profile] Common
[Issue Type] code clean-up

Change-Id: I8c534111a80ba05bba3b011a2817e136aba07561

8 years agoAdd security check code 30/42030/2
Jeongho Mok [Mon, 4 May 2015 11:12:52 +0000 (20:12 +0900)]
Add security check code

[Version] 0.5-16
[Profile] Common
[Issue Type] security

Change-Id: Ie72d71eba28870002c72adf0d4821897d947f145
Signed-off-by: Jeongho Mok <jho.mok@samsung.com>
8 years agopolicy: Revise codes 29/42029/2
Sangchul Lee [Thu, 30 Apr 2015 07:10:26 +0000 (16:10 +0900)]
policy: Revise codes

Fix warning: ISO forbids mixed declarations and code
Fix warning: unused variable
Remove unused code
Revise code for easy readable

[Version] 0.5-15
[Profile] Common
[Issue Type] code clean-up

Change-Id: I0d21ce2995b34b5efc60443bab152bda3c789646
Signed-off-by: Seungbae Shin <seungbae.shin@samsung.com>
8 years agopolicy: Integrating with device-manager and stream-manager 24/42024/2
Sangchul Lee [Tue, 21 Apr 2015 03:59:07 +0000 (12:59 +0900)]
policy: Integrating with device-manager and stream-manager

Apply current state of the volume-mute to the new stream when calling sink-input-put/source-output-put callback
Change logic for getting volume level and mute
Remove GET_VOLUME_LEVEL_MAX operation in module-policy.c/ext-policy.c
Support stream connection information API for hal-manager
Support manual routing
Remove sample play feature in module-policy (rather it is recommended to use module-sound-player)
Fix bugs

[Version] 0.5-14
[Profile] Common
[Issue Type] add features and fix bugs

Change-Id: I00dc48805965a4c1987ef547269d83ce9fb854cc

8 years agopolicy: Modify device manager 13/42013/2
Jeongho Mok [Fri, 10 Apr 2015 06:29:44 +0000 (15:29 +0900)]
policy: Modify device manager

Convert some hashmap to idxset for convenience.
Convert some enums to string (device-type, device-role).
Include vconf for get device status.
Separate device-profile from device-type.
Merge some functions which was only for sink or source.
Give same structure(dm_device) when device connected/disconnected.
Apply device mask when get connected device list.
Handle method call GetBTA2DPStatus status.
Ignore duplicated device set-state call.
Fix bug - processed twice when bt-sink loaded.
Fix some bugs.

[Version] 0.5-13
[Profile] Common
[Issue Type] add features and etc.

Change-Id: I17a869ed13d50a8c6bd947e343b593aa7c60e89a
Signed-off-by: Jeongho Mok <jho.mok@samsung.com>
8 years agotizenaudio-sink: Modify description and add valid_modargs 64/41964/3
Seonmi Jin [Fri, 1 May 2015 06:53:47 +0000 (15:53 +0900)]
tizenaudio-sink: Modify description and add valid_modargs

Modify description and add valid modargs, move it to tizen directory

[Version] 0.5-12
[Profile] Common
[Issue Type] add feature

Change-Id: Ib8db498c2f8d40934cbc0cc946a2d8ee3a1c5dd0
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agomodule-sound-player: Support role and volume_gain for playback. Add dbus method for... 62/41962/2
Sangchul Lee [Tue, 21 Apr 2015 16:01:21 +0000 (01:01 +0900)]
module-sound-player: Support role and volume_gain for playback. Add dbus method for play a sample that is already uploaded.
module-policy: Apply volume gain modifier for each stream in stream-manager.c

In module-sound-player, previous argument for volume type and gain was a value of integer type.
Now it is divided to two values of string type. With these information, stream-manager of the module-policy can manage its volume value.

[Version] 0.5-11
[Profile] Common
[Issue Type] add features

Change-Id: I4b566480f8b8c708bfd1126fab023a91e6b25b95

8 years agomodule-policy: Add dbus interface for setting/getting volume feature(level/mute) 61/41961/2
Sangchul Lee [Mon, 20 Apr 2015 02:47:40 +0000 (11:47 +0900)]
module-policy: Add dbus interface for setting/getting volume feature(level/mute)

Add dbus methods for setting/getting volume level and mute in stream-manager.c
Remove unused codes

[Version] 0.5-10
[Profile] Common
[Issue Type] add features

Change-Id: I07821484abbc3a4ffa96755fe84813f772a83664

8 years agoModify module-policy (including stream-manager.c/device-manager/hal-manager/communicator) 60/41960/3
Sangchul Lee [Fri, 19 Jun 2015 08:09:32 +0000 (17:09 +0900)]
Modify module-policy (including stream-manager.c/device-manager/hal-manager/communicator)

Apply initial volume level when initializing volume map
Rename APIs in device-manager.c
Add hal-manager APIs
Revise codes in stream-manager-volume.c
Ready for route option feature
Remove update_volume feature that is called when active device is changed in sound_server
Prepare interface for device information changed callback (communicator.c/device-manager.c/module-policy.c)
Change default booting sound

[Version] 0.5-9
[Profile] Common
[Issue Type] code refactorying

Change-Id: Iebf7e70c501be01b45888b217c60685d9094ecb6

8 years ago1.Add hal-manager.c 2.Move and reorganize volume feature (move to stream-manager... 59/41959/3
Sangchul Lee [Wed, 15 Apr 2015 06:09:26 +0000 (15:09 +0900)]
1.Add hal-manager.c  2.Move and reorganize volume feature (move to stream-manager-volume.c)

[Version] 0.5-8
[Profile] Common
[Issue Type] code refactorying

Change-Id: Ic88589216154b54092d18262a92a5c619cca61f3

8 years agoModule-policy: Fix to get sample format in sink_input_new_hook_callback() 58/41958/3
Seonmi Jin [Tue, 14 Apr 2015 15:45:34 +0000 (00:45 +0900)]
Module-policy: Fix to get sample format in sink_input_new_hook_callback()
Sample format is used in _add_hal_buffer_attr_by_latency()
Stream: Fixed default tlength from 250ms to 350ms

[Version] 0.5-7
[Profile] Common
[Issue Type] bug fix

Change-Id: Iae70823f8035f2c1e0f831ccd74a46df3d4e331c
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
8 years agoAdd device manager, on disabled status 57/41957/3
Jeongho Mok [Wed, 25 Feb 2015 13:26:08 +0000 (22:26 +0900)]
Add device manager, on disabled status
Gather module-policy related files into tizen directory

[Version] 0.5-6
[Profile] Common
[Issue Type] add feature

Change-Id: Ied3a013fe665bbe5175cb8dda2996950da922b52
Signed-off-by: Jeongho Mok <jho.mok@samsung.com>