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