filter-apply,ladspa-sink,virtual-surround-sink: filter-apply supports ladspa-sink... 94/74394/9
authorKimJeongYeon <jeongyeon.kim@samsung.com>
Tue, 14 Jun 2016 06:38:06 +0000 (15:38 +0900)
committerJeongYeon Kim <jeongyeon.kim@samsung.com>
Thu, 21 Jul 2016 08:32:49 +0000 (01:32 -0700)
commit56295665a72e4c16d119a34c445a17c33db57883
tree1fd3a6f9ccdf8ec7e6abf66203fe57f470db1944
parent50b4b319ea810419feac34012aa93fcc12ce8e91
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
packaging/pulseaudio.spec
src/modules/module-filter-apply.c
src/modules/module-ladspa-sink.c
src/modules/module-virtual-surround-sink.c
src/pulse/proplist.h [changed mode: 0755->0644]