platform/upstream/pulseaudio.git
6 years agoSwitch -ldl to support ASan build 53/88253/4 accepted/tizen/unified/20170706.193611 submit/tizen/20170705.123628
Slava Barinov [Thu, 15 Sep 2016 12:58:18 +0000 (15:58 +0300)]
Switch -ldl to support ASan build

Change-Id: I046e37e2cbdb349cd8cef6df5191c7d5193cfe06
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
6 years agoloopback: apply official patchset 60/133660/1 accepted/tizen/unified/20170627.071444 submit/tizen/20170626.070954
KimJeongYeon [Tue, 13 Jun 2017 04:27:05 +0000 (13:27 +0900)]
loopback: apply official patchset

PulseAudio 10.0
Georg Chini (8):
      loopback: Save time stamps during latency snapshots
      loopback: Improve latency estimation in snapshots
      loopback: Improve latency estimation
      loopback: Change memblockq length
      loopback: Move timer restart and snapshots to timer callback
      loopback: Restart timer after 1/3 second
      loopback: Adjust rate based on latency difference
      loopback: Stop tracking max_request and min_memblockq_length

PulseAudio 9.0
Tanu Kaskinen (24):
      loopback: refactor proplist updating

PulseAudio 8.0
Georg Chini (2):
      loopback: Validate the rate parameter

PulseAudio 7.0
Alexander E. Patrakov (4):
      module-loopback: don't use 0 for custom source output message id
      loopback: Fix the obviously-wrong "buffer+=buffer" logic

PulseAudio 6.0
Georg Chini (1):
      loopback: Don't push zero-sized block to memblockq

Note for tizen:
1) These patchset improve latency and fix many other bugs of module-loopback.
2) Applied up to PulseAudio 10.0 release except 'loopback: refactor proplist updating'.
   (commit: 95dd90ce06046fb574e4a2174545bdebeb7c460d)
   Because, pa_{sink_input|source_output}_set_property() aren't exist in this code base.

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

6 years agoFix build warnings 51/131151/6 accepted/tizen/unified/20170531.082625 submit/tizen/20170526.083733
Seungbae Shin [Thu, 25 May 2017 12:51:00 +0000 (21:51 +0900)]
Fix build warnings

Additionally, replaced some remaing words "zero pop" with "empty pop" for clear meanings

[Version] 5.0.118
[Profile] Common
[Issue Type] Clean up

Change-Id: I15f714d5a4c8fe731a428441987b7d2dcd46d2fd

6 years agoladspa-sink: dbus implementation for tizen 18/71818/17
KimJeongYeon [Fri, 27 May 2016 07:45:19 +0000 (16:45 +0900)]
ladspa-sink: dbus implementation for tizen

Use system bus instead of protocol-dbus.

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

6 years agomodule-filter-apply: Fix a memory leak 98/128498/3
KimJeongYeon [Wed, 10 May 2017 08:04:43 +0000 (17:04 +0900)]
module-filter-apply: Fix a memory leak

Dynamic memory allocated to 'module_name' and 'fltr' was being leaked.
Its now freed properly before return.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=95293
Signed-off-by: Sachin Kumar Chauhan <sachin.kc@samsung.com>
Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=a19e1e5382ca9c193d9fa33356465b040f55a672

filter-apply: fix typo "what" -> "want"

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=71b128aaeabfdb0b5845ef062d8ddfd56baa77a8

Note for tizen:
The purpose of these patches is that sync code with upstream.

Change-Id: I0a8e2de2312752520e868c0dc0e84fa31bd12a00

6 years agofilter-apply: Do not re-route stream to master sink/source when manually moved to... 41/125541/14
KimJeongYeon [Wed, 10 May 2017 07:32:41 +0000 (16:32 +0900)]
filter-apply: Do not re-route stream to master sink/source when manually moved to filter

Currently, if a stream is manually moved to a filter sink or source managed by
module-filter-apply, the stream will be silently re-routed to the master sink
or source, because the filter.apply property is not set on that stream. We can
assume, that the users intention however was to have the stream filtered.

Therefore this patch changes the logic, so that the stream will not be moved
to the master but remains on the filter sink or source. To handle the change
of a property correctly, the filter.apply property must be set temporarily.
An additional property filter.apply.set_by_mfa was introduced to mark those
streams, so that filter.apply can be removed again when the stream moves away
from the filter.

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?h=next&id=b8858ff24d03dcd0828db529d455e3b2d2493b98

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

6 years agofilter-apply: Add ability to pass parameters to a filter module 03/125103/2
KimJeongYeon [Thu, 13 Apr 2017 23:06:36 +0000 (08:06 +0900)]
filter-apply: Add ability to pass parameters to a filter module

Currently passing parameters to a filter loaded by module-filter-apply is
not possible.

To enable passing parameters to a filter this patch uses an additional property
filter.apply.{MODULE_NAME}.parameters. This way, filters like virtual-surround-sink
and ladspa-sink are fully supported. For example:
paplay file.wav --property=filter.apply=ladspa-sink \
                --property=filter.apply.ladspa-sink.parameters="plugin=ladspa \
                  label=ladspa_stereo control=0"

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=caabff2728d9d588664f8a0ea2f8441804c8b91a

Note for tizen:
Proplist 'filter.apply.extra.parameters' and 'filter.apply.extra.group' are removed.
Also, their names are modified as below.
1) 'filter.apply.extra.group' to 'filter.apply.{MODULE_NAME}.group'
2) 'filter.apply.extra.parameters' to 'filter.apply.{MODULE_NAME}.parameters'
For example:
paplay file1.wav --property=filter.apply=ladspa-sink \
                 --property=filter.apply.ladspa-sink.group=group1 \
                 --property=filter.apply.ladspa-sink.parameters="plugin=ladspa1 \
                   label=ladspa_stereo control=0"
paplay file2.wav --property=filter.apply=ladspa-sink \
                 --property=filter.apply.ladspa-sink.group=group2 \
                 --property=filter.apply.ladspa-sink.parameters="plugin=ladspa2 \
                   label=ladspa_stereo control=0"

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

6 years agoMerge "ladspa-sink: Add sink_master argument to enable filter-apply to load the modul...
youngseok lee [Fri, 26 May 2017 05:33:29 +0000 (05:33 +0000)]
Merge "ladspa-sink: Add sink_master argument to enable filter-apply to load the module" into tizen

6 years agoMerge "virtual-surround-sink: Add sink_master argument to enable filter-apply to...
youngseok lee [Fri, 26 May 2017 05:32:06 +0000 (05:32 +0000)]
Merge "virtual-surround-sink: Add sink_master argument to enable filter-apply to load the module" into tizen

6 years agoMerge "filter-apply: Fix memory leak in process()" into tizen
youngseok lee [Fri, 26 May 2017 05:30:24 +0000 (05:30 +0000)]
Merge "filter-apply: Fix memory leak in process()" into tizen

7 years agosink-input: Enhance PCM dump 19/125419/3
Jungsup Lee [Mon, 17 Apr 2017 07:08:04 +0000 (16:08 +0900)]
sink-input: Enhance PCM dump

PCM dump is not correct if one or more sink-input hasn't pcm data enough when sink request pcm data
In this case, PCM dump file should be rewound when pa_sink_input_drop is called

[Version] 5.0.117
[Profile] Common
[Issue Type] Enhancement

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

7 years agoladspa-sink: Add sink_master argument to enable filter-apply to load the module 04/123404/4
KimJeongYeon [Thu, 13 Apr 2017 22:45:00 +0000 (07:45 +0900)]
ladspa-sink: Add sink_master argument to enable filter-apply to load the module

Currently, module-filter-apply cannot load module-ladspa-sink because filter-apply
provides the argument "sink_master" but ladspa-sink expects "master" instead.

Therefore this patch adds the sink_master argument to module-ladspa-sink.

Additionally, the autoloaded argument was also added.

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=145da09aca8b54d611999ebf661b05ceb9e1c62f

ladspa-sink, virtual-surround-sink: fix master sink argument handling

The old code worked incorrectly in several situations. For example,
trying to use the "master" argument wouldn't work, because if
"sink_master" wasn't specified, pa_namereg_get() would pick the default
sink as the master sink.

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=65f7ca44148e8c79fa965a6ecbc889e3f9668178

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

7 years agovirtual-surround-sink: Add sink_master argument to enable filter-apply to load the... 00/123400/4
KimJeongYeon [Thu, 13 Apr 2017 22:41:22 +0000 (07:41 +0900)]
virtual-surround-sink: Add sink_master argument to enable filter-apply to load the module

Currently, module-filter-apply cannot load module-virtual-surround-sink because filter-apply
provides the argument "sink_master" but virtual-surround-sink expects "master" instead.

Therefore this patch adds the sink_master argument to module-virtual-surround-sink.

Additionally, the autoloaded argument was also added.

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=ba4de85b530d91f5f7d81f3bf29a0ae8bc60b04e

ladspa-sink, virtual-surround-sink: fix master sink argument handling

The old code worked incorrectly in several situations. For example,
trying to use the "master" argument wouldn't work, because if
"sink_master" wasn't specified, pa_namereg_get() would pick the default
sink as the master sink.

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=65f7ca44148e8c79fa965a6ecbc889e3f9668178

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

7 years agofilter-apply: Fix memory leak in process() 96/125096/1
KimJeongYeon [Thu, 13 Apr 2017 22:36:13 +0000 (07:36 +0900)]
filter-apply: Fix memory leak in process()

fltr->name should be freed before freeing fltr. Because filter_free()
can never be called from other places without f set, the pa_assert()
can be removed and filter_free() can be used in process() as well.

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=1f0c4f7d6af250e1d8dbb020de0f83afcec858b0

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

7 years agoRemove unused configuration file 41/122541/1 accepted/tizen/unified/20170406.055002 submit/tizen/20170405.072228 tizen_4.0.m1_release
Sangchul Lee [Mon, 3 Apr 2017 02:51:23 +0000 (11:51 +0900)]
Remove unused configuration file

[Version] 5.0.116
[Profile] Common
[Issue Type] Clean up

Change-Id: I9978e8abc90b967cdc2ec8e349e7b3ecbc3a1a95
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge "include module-filter-apply, module-filter-heuristics by default" into tizen
Seungbae Shin [Fri, 31 Mar 2017 08:22:59 +0000 (01:22 -0700)]
Merge "include module-filter-apply, module-filter-heuristics by default" into tizen

7 years agoinclude module-filter-apply, module-filter-heuristics by default 83/117383/4
KimJeongYeon [Mon, 6 Mar 2017 02:11:52 +0000 (11:11 +0900)]
include module-filter-apply, module-filter-heuristics by default

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

7 years agofilter-apply: support group of filters 31/118231/10
KimJeongYeon [Thu, 9 Mar 2017 08:17:12 +0000 (17:17 +0900)]
filter-apply: support group of filters

Currently, filter-apply manages filters using name of filter module and master sink.
Even if a filter able to load various plugins, it cannot run as multiple instances.
New 'group' of filter will provide to run multiple instances in this case.

For example,
a filter group 'group1' of module-ladspa-sink has opened 'ladspa1' plugin.
Other group 'group2' able to open 'ladspa2' plugin in same time.
e.g) paplay file1.wav --property=filter.apply=ladspa-sink \
                      --property=filter.apply.extra.group=group1 \
                      --property=filter.apply.extra.parameters="plugin=ladspa1 label=stereo control=0"
     paplay file2.wav --property=filter.apply=ladspa-sink \
                      --property=filter.apply.extra.group=group2 \
                      --property=filter.apply.extra.parameters="plugin=ladspa2 label=stereo control=0"

Changes in v1:
    * add group of filters.

Changes in v2:
    * Use pa_safe_streq() instead of strcmp().
    * Fix typos.

Changes in v3:
    * To clarify meaning, rename should_group_filter() to is_duplex_filter().
    * Remove unnecessary 'extra' word from module-filter-apply.c.

[Version] 5.0.115
[Profile] Common
[Issue Type] New Feature

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

7 years agoRemove unused pa_core param in alsa module 67/121567/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.172544 accepted/tizen/ivi/20170329.222740 accepted/tizen/mobile/20170329.222541 accepted/tizen/tv/20170329.222652 accepted/tizen/unified/20170329.222800 accepted/tizen/wearable/20170329.222715 submit/tizen/20170329.121135
Jeongho Mok [Tue, 28 Mar 2017 07:37:04 +0000 (16:37 +0900)]
Remove unused pa_core param in alsa module

[Version] 5.0.114
[Profile] Common
[Issue Type] Cleanup

Change-Id: I394f6604fce79e9d51d0e85a90439b4961f54f55

7 years agoEnhance log format for dlog & enhance pcm dump, remove unused code 07/120007/5
Hyunseok Lee [Tue, 10 Jan 2017 00:52:30 +0000 (09:52 +0900)]
Enhance log format for dlog & enhance pcm dump, remove unused code

[Version] 5.0.113
[Profile] Common
[Issue Type] Enhancement

Change-Id: If84343458933c04b3f2d85cf22c381724db557c9

7 years agoMerge branch 'tizen_3.0' into tizen 32/121232/1
Seungbae Shin [Mon, 27 Mar 2017 08:57:20 +0000 (17:57 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I7d26f3226c98a51007015e54c21b94f8b599c814

7 years agoInstall license files to other installed packages & update license to proper one... 44/121144/1 accepted/tizen/3.0/common/20170330.124942 accepted/tizen/3.0/ivi/20170329.223028 accepted/tizen/3.0/mobile/20170329.222927 accepted/tizen/3.0/tv/20170329.222947 accepted/tizen/3.0/wearable/20170329.223007 submit/tizen_3.0/20170329.043647
Seungbae Shin [Mon, 27 Mar 2017 07:27:48 +0000 (16:27 +0900)]
Install license files to other installed packages & update license to proper one (LGPL-2.1)

[Version] 5.0-112
[Profile] Common
[Issue Type] License

Change-Id: I2f92b97f03ad9b317426ea1c563164b7d8665516

7 years agoMerge branch 'tizen_3.0' into tizen 36/119336/1
Seungbae Shin [Thu, 16 Mar 2017 10:35:30 +0000 (19:35 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I6b28ff7c8df9050e16a77c2514c4e2b14dfd957b

7 years agoproplist: Add PA_PROP_MEDIA_FOCUS_ID definition 64/118964/1
Sangchul Lee [Tue, 14 Mar 2017 01:29:08 +0000 (10:29 +0900)]
proplist: Add PA_PROP_MEDIA_FOCUS_ID definition

[Version] 5.0-111
[Profile] Common
[Issue Type] new define

Change-Id: I400886ea08a7422cf7596b0e3cb73af45d153c65
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 6058645e7b1216886bdaae8a0bf95faaad53c828)

7 years agoproplist: Add PA_PROP_MEDIA_FOCUS_ID definition 48/118748/2 accepted/tizen/3.0/common/20170320.130440 accepted/tizen/3.0/ivi/20170320.080516 accepted/tizen/3.0/mobile/20170320.074950 accepted/tizen/3.0/tv/20170320.075845 accepted/tizen/3.0/wearable/20170320.080131 submit/tizen_3.0/20170317.034449
Sangchul Lee [Tue, 14 Mar 2017 01:29:08 +0000 (10:29 +0900)]
proplist: Add PA_PROP_MEDIA_FOCUS_ID definition

[Version] 5.0-111
[Profile] Common
[Issue Type] new define

Change-Id: I400886ea08a7422cf7596b0e3cb73af45d153c65
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoRemove unnecessarily strict dependency on dbus.service 31/116831/3 accepted/tizen/common/20170303.090703 accepted/tizen/ivi/20170303.004759 accepted/tizen/mobile/20170303.004708 accepted/tizen/tv/20170303.004731 accepted/tizen/unified/20170309.040344 accepted/tizen/wearable/20170303.004744 submit/tizen/20170302.115149 submit/tizen_unified/20170308.100416
Łukasz Stelmach [Thu, 29 Dec 2016 08:38:29 +0000 (09:38 +0100)]
Remove unnecessarily strict dependency on dbus.service

Change-Id: I9babe22470810bbd2f909edde1df7b64a5d6948d

7 years agoMerge branch 'tizen_3.0' into tizen 11/116911/1
Seungbae Shin [Thu, 2 Mar 2017 03:42:46 +0000 (12:42 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I5a9f104bbc4afc73cecb11af7ae89bfac44c5509

7 years agoDo not install pulseaudio.socket by systemctl 02/116602/1
Seungbae Shin [Mon, 27 Feb 2017 07:24:27 +0000 (16:24 +0900)]
Do not install pulseaudio.socket by systemctl

[Version] 5.0-110
[Profile] Common
[Issue Type] Request

Change-Id: I45af41ab38c3d5864d7d768f3aa0d6cb96700a1f

7 years agoidxset: Add pa_idxset_filtered_copy function to copy existing idxset with a condition 90/116090/3 accepted/tizen/3.0/common/20170302.075638 accepted/tizen/3.0/ivi/20170302.034030 accepted/tizen/3.0/mobile/20170302.033903 accepted/tizen/3.0/tv/20170302.033950 accepted/tizen/3.0/wearable/20170302.034010 submit/tizen_3.0/20170223.055304 submit/tizen_3.0/20170228.000412
Sangchul Lee [Thu, 23 Feb 2017 02:01:08 +0000 (11:01 +0900)]
idxset: Add pa_idxset_filtered_copy function to copy existing idxset with a condition

[Version] 5.0-109
[Profile] Common
[Issue Type] New function

Change-Id: I31adcc84aaaca5ea29f35e3c7f194dd6399746f7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 60/114560/1 accepted/tizen/common/20170214.173949 accepted/tizen/ivi/20170214.230410 accepted/tizen/mobile/20170214.230342 accepted/tizen/tv/20170214.230351 accepted/tizen/wearable/20170214.230401 submit/tizen/20170214.125635
Seungbae Shin [Tue, 14 Feb 2017 04:55:59 +0000 (13:55 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I713632dbc43e3c3815921c6b316b48f94fc52325

7 years agoFix memory leak on failure case 29/114329/2 accepted/tizen/3.0/common/20170214.180610 accepted/tizen/3.0/ivi/20170214.042611 accepted/tizen/3.0/mobile/20170214.042523 accepted/tizen/3.0/tv/20170214.042543 accepted/tizen/3.0/wearable/20170214.042558 submit/tizen_3.0/20170213.103000
Seungbae Shin [Mon, 13 Feb 2017 04:22:44 +0000 (13:22 +0900)]
Fix memory leak on failure case

[Version] 5.0-108
[Profile] Common
[Issue Type] Cleanup

Change-Id: Ieda1e11b5dc71460e864f89b96ccf2892be642da

7 years agoRevert "node-manager: adding node support for pactl" 07/113907/1 accepted/tizen/3.0/common/20170213.160809 accepted/tizen/3.0/ivi/20170213.035331 accepted/tizen/3.0/mobile/20170213.035204 accepted/tizen/3.0/tv/20170213.035252 accepted/tizen/3.0/wearable/20170213.035315 submit/tizen_3.0/20170210.094941
Seungbae Shin [Thu, 9 Feb 2017 08:18:59 +0000 (17:18 +0900)]
Revert "node-manager: adding node support for pactl"

This reverts commit 4400addd3f276c78630e9e8f6a21ad69292e8f34.

Conflicts:

src/utils/pactl.c

Change-Id: Iff65550ce5718452647b8e6f5385c4b28f5d1645

7 years agoRevert "node manager: adding external node manager API" 06/113906/1
Seungbae Shin [Thu, 9 Feb 2017 08:09:40 +0000 (17:09 +0900)]
Revert "node manager: adding external node manager API"

This reverts commit 62a60357654166395a57f41a764f22fc59ac552e.

Conflicts:
src/map-file
src/pulse/ext-node-manager.c

Change-Id: I81f365430c1679ea3d55503d63532eae38650116

7 years agoMerge branch 'tizen_3.0' into tizen 14/112714/1 accepted/tizen/common/20170203.161610 accepted/tizen/ivi/20170203.023059 accepted/tizen/mobile/20170203.022957 accepted/tizen/tv/20170203.023029 accepted/tizen/wearable/20170203.023042 submit/tizen/20170202.111238
Seungbae Shin [Thu, 2 Feb 2017 09:44:55 +0000 (18:44 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: If98b25a5572197466629c47d4f56a52358449c83

7 years agoRemove unused old features 84/112384/2 accepted/tizen/3.0/common/20170202.151046 accepted/tizen/3.0/ivi/20170202.085711 accepted/tizen/3.0/mobile/20170202.085622 accepted/tizen/3.0/tv/20170202.085640 accepted/tizen/3.0/wearable/20170202.085654 submit/tizen_3.0/20170201.113021
Seungbae Shin [Tue, 31 Jan 2017 13:54:00 +0000 (22:54 +0900)]
Remove unused old features

[Version] 5.0-107
[Profile] Common
[Issue Type] Cleanup

Change-Id: I5dbaa41232b72f3d21e53ab2ec5fd507b78fe1d9

7 years agoRevert "pactl: Add support for the new volume API" 83/112383/1
Seungbae Shin [Tue, 31 Jan 2017 13:10:44 +0000 (22:10 +0900)]
Revert "pactl: Add support for the new volume API"

This reverts commit 880ee7045213fc6027eb7bec712fba605dadc0dd.

Conflicts:

src/utils/pactl.c

Change-Id: I4b1b0ae198c67699c596dc3060ec6e8d6b5785c7

7 years agoRevert "context, extension: Add the pa_extension class" 82/112382/1
Seungbae Shin [Tue, 31 Jan 2017 13:01:32 +0000 (22:01 +0900)]
Revert "context, extension: Add the pa_extension class"

This reverts commit 729f6f0b579be41a650583ac72607f3420db1d34.

Change-Id: I288de18284ed3bada12a80a76e18e82e92ed5445

7 years agoEnable client log with info level / Add debug log at mutex operation 48/112148/1
Seungbae Shin [Thu, 26 Jan 2017 10:33:12 +0000 (19:33 +0900)]
Enable client log with info level / Add debug log at mutex operation

[Version] 5.0-106
[Profile] Common
[Issue Type] Debug

Change-Id: Id261089eb07f555e624fd45868a07bc380bccf04

7 years agoMerge branch 'tizen_3.0' into tizen 79/111679/1 accepted/tizen/common/20170123.182434 accepted/tizen/ivi/20170125.085008 accepted/tizen/mobile/20170125.084854 accepted/tizen/tv/20170125.084922 accepted/tizen/wearable/20170125.084941 submit/tizen/20170123.131118
Seungbae Shin [Mon, 23 Jan 2017 10:20:16 +0000 (19:20 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I87408ea730005b158d3c0291c6f31743cf718edf

7 years agoReset zero-pop timestamp when sink-input state is not running 45/110745/10 accepted/tizen/3.0/common/20170124.081259 accepted/tizen/3.0/ivi/20170124.042401 accepted/tizen/3.0/mobile/20170124.042234 accepted/tizen/3.0/tv/20170124.042307 accepted/tizen/3.0/wearable/20170124.042336 submit/tizen_3.0/20170123.123302
Seungbae Shin [Tue, 17 Jan 2017 14:19:21 +0000 (23:19 +0900)]
Reset zero-pop timestamp when sink-input state is not running

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

Change-Id: I46c730cbdd3f4debfa74b3e562ad7f8d2e85d328

7 years agorole-ducking: Don't request volume ramp when sink-input is corked 07/111407/2
Jungsup Lee [Fri, 20 Jan 2017 08:00:07 +0000 (17:00 +0900)]
role-ducking: Don't request volume ramp when sink-input is corked

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

Change-Id: Ib4fd38e6bfbadf6250572023ab8a9f3cb94090fd
Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 84/108884/1 accepted/tizen/common/20170109.202635 accepted/tizen/ivi/20170110.080652 accepted/tizen/mobile/20170110.080533 accepted/tizen/tv/20170110.080612 accepted/tizen/wearable/20170110.080630 submit/tizen/20170109.130136
Seungbae Shin [Fri, 6 Jan 2017 06:29:33 +0000 (15:29 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I71241fbf421e23e7106e8a95e4d399ba88f2ba20

7 years agoAdd pa_bool_t definition for tv module build 30/108830/1 accepted/tizen/3.0/common/20170109.195746 accepted/tizen/3.0/ivi/20170109.003422 accepted/tizen/3.0/mobile/20170109.003326 accepted/tizen/3.0/tv/20170109.003354 accepted/tizen/3.0/wearable/20170109.003406 submit/tizen_3.0/20170106.062231
Seungbae Shin [Fri, 6 Jan 2017 03:47:08 +0000 (12:47 +0900)]
Add pa_bool_t definition for tv module build

This commit will be reverted after removing of pa_bool_t on tv

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

Change-Id: I60fbb05eb12b54dcde91660f76186e9fe4bf68ab

7 years agoMerge branch 'tizen_3.0' into tizen 60/107260/1 accepted/tizen/common/20161229.140231 accepted/tizen/ivi/20161229.233611 accepted/tizen/mobile/20161229.233509 accepted/tizen/tv/20161229.233528 accepted/tizen/wearable/20161229.233551 submit/tizen/20161229.100658
Seungbae Shin [Tue, 27 Dec 2016 08:53:14 +0000 (17:53 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Icc97fdf94be11c26975c11b27b074ffc2153564d

7 years agoUpdate timestamp in idle state of module-null-source to fix crash in thread_func 25/107225/3 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170105.025121 accepted/tizen/3.0.m2/tv/20170105.025234 accepted/tizen/3.0.m2/wearable/20170105.025331 accepted/tizen/3.0/common/20161228.162140 accepted/tizen/3.0/ivi/20161228.091218 accepted/tizen/3.0/mobile/20161228.091118 accepted/tizen/3.0/tv/20161228.091133 accepted/tizen/3.0/wearable/20161228.091157 submit/tizen_3.0.m2/20170104.093754 submit/tizen_3.0/20161227.051124
Seungbae Shin [Tue, 27 Dec 2016 07:39:41 +0000 (16:39 +0900)]
Update timestamp in idle state of  module-null-source to fix crash in thread_func

[Version] 5.0-103
[Profile] Common
[Issue Type] Fix crash

Change-Id: Ia15600e5d1bb2bd1f3744c9258212d54d2745431

7 years agoMerge branch 'tizen_3.0' into tizen 99/106199/1 accepted/tizen/common/20161227.192025 accepted/tizen/ivi/20161226.012627 accepted/tizen/mobile/20161226.012532 accepted/tizen/tv/20161226.012559 accepted/tizen/wearable/20161226.012610 submit/tizen/20161223.120533
Seungbae Shin [Wed, 21 Dec 2016 03:51:17 +0000 (12:51 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I895b86e7bd85be5c3209109cb17b86517a91a386

7 years agoRemove pa_bool_t and replace it with bool 28/100928/3 accepted/tizen/3.0/common/20161221.180726 accepted/tizen/3.0/ivi/20161221.005554 accepted/tizen/3.0/mobile/20161221.005648 accepted/tizen/3.0/tv/20161221.005441 accepted/tizen/3.0/wearable/20161221.005534 submit/tizen_3.0/20161219.120436
Hyunseok Lee [Tue, 29 Nov 2016 23:59:39 +0000 (08:59 +0900)]
Remove pa_bool_t and replace it with bool

refered d806b197144733607b0ecb8678c6ee5d99ccc9ea from upstream

[Version] 5.0.102
[Profile] Common
[Issue Type] Clean up

Change-Id: Iddad0d16b1b7ec1ce6f7b3a1b035aff2b5e46ea0

7 years agoFix module-null-source crash when disconnecting call while lcd off with usb disconnected 30/105730/5
Seungbae Shin [Mon, 19 Dec 2016 10:18:18 +0000 (19:18 +0900)]
Fix module-null-source crash when disconnecting call while lcd off with usb disconnected

[Version] 5.0.101
[Profile] Common
[Issue Type] JIRA

Change-Id: If95fb8d747f3b66766496add5f2a08717d66fa41

7 years agoEvent name of pulseaudio ready is changed to /tmp/.pulseaudio_ready 63/98663/1
Jungsup Lee [Fri, 18 Nov 2016 06:09:47 +0000 (15:09 +0900)]
Event name of pulseaudio ready is changed to /tmp/.pulseaudio_ready

[Version] 5.0.100
[Profile] TV
[Issue Type] Change requirement

Change-Id: Ib5ed5622e2bcf45b83e9196fcb306149f1e2507b
Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
7 years agoEvent name of pulseaudio ready is changed to /tmp/.pulseaudio_ready 52/98652/3
Jungsup Lee [Fri, 18 Nov 2016 06:09:47 +0000 (15:09 +0900)]
Event name of pulseaudio ready is changed to /tmp/.pulseaudio_ready

[Version] 5.0.100
[Profile] TV
[Issue Type] Change requirement

Change-Id: Ib5ed5622e2bcf45b83e9196fcb306149f1e2507b
Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
7 years agoAdd assert check for hash_func before use 78/96578/1
Seungbae Shin [Tue, 8 Nov 2016 12:26:55 +0000 (21:26 +0900)]
Add assert check for hash_func before use

[Version] 5.0.99
[Profile] Common
[Issue Type] Exception check

Change-Id: Iebb59d3197c8af0eecf592cb054ea705d71662d1
(cherry picked from commit 5d90591ed93a36c54a7e52a6a30442a3d825cc44)

7 years agoAdd assert check for hash_func before use 23/96323/3 accepted/tizen/3.0/common/20161114.082618 accepted/tizen/3.0/ivi/20161110.021447 accepted/tizen/3.0/mobile/20161110.021348 accepted/tizen/3.0/tv/20161110.021410 accepted/tizen/3.0/wearable/20161110.021430 submit/tizen_3.0/20161109.024556 submit/tizen_3.0_common/20161110.084657
Seungbae Shin [Tue, 8 Nov 2016 12:26:55 +0000 (21:26 +0900)]
Add assert check for hash_func before use

[Version] 5.0.99
[Profile] Common
[Issue Type] Exception check

Change-Id: Iebb59d3197c8af0eecf592cb054ea705d71662d1

7 years agoloopback: add volume type of sink-input 72/96172/1 accepted/tizen/3.0/ivi/20161109.124716 accepted/tizen/3.0/mobile/20161109.124257 accepted/tizen/3.0/tv/20161109.124526 accepted/tizen/3.0/wearable/20161109.124626 submit/tizen_3.0/20161108.053851
KimJeongYeon [Fri, 14 Oct 2016 06:11:50 +0000 (15:11 +0900)]
loopback: add volume type of sink-input

To providing volume control of loopback sound, add type of volume property to sink-input as "media".
Therefore loopback volume will be controlled along with "media" type. This patch is TV profile only.

[Version] 5.0.98
[Profile] TV
[Issue Type] Product feature

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

7 years agoloopback: add volume type of sink-input 57/92257/1 accepted/tizen/common/20161109.140230 accepted/tizen/ivi/20161109.002819 accepted/tizen/mobile/20161109.002427 accepted/tizen/tv/20161109.002640 accepted/tizen/wearable/20161109.002735 submit/tizen/20161108.054351
KimJeongYeon [Fri, 14 Oct 2016 06:11:50 +0000 (15:11 +0900)]
loopback: add volume type of sink-input

To providing volume control of loopback sound, add type of volume property to sink-input as "media".
Therefore loopback volume will be controlled along with "media" type. This patch is TV profile only.

[Version] 5.0.98
[Profile] TV
[Issue Type] Product feature

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

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