stream-interaction: Support for triggering ducking/cork by source-output 02/196302/4 accepted/tizen/unified/20190128.061524 submit/tizen/20190123.011037
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 21 Dec 2018 05:59:31 +0000 (14:59 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 21 Jan 2019 06:41:58 +0000 (15:41 +0900)
commitb4b77285e72df8953a2f27ebc38482fa8eebbaa8
tree115d04b7caae430fc18bb3869c8467b3d86ccad0
parentc3aa49c979f86d3c8548bd4e1006e1dde230817d
stream-interaction: Support for triggering ducking/cork by source-output

Previously, media.role property of only sink-input is used to
determine to trigger and apply ducking or cork to sink-inputs.

On the other hand, some use cases require that source-output
also need to trigger the effect to sink-inputs. Therefore this
patch adds logic to retrieve source-ouputs to find trigger role
by checking media.role property and apply ducking/cork to sink-
inputs that meet conditions.

TIZEN_VOLUME_RAMP is replaced by __TIZEN__ in this file because
it is hard to consider to branch all #define directives.

[Version] 11.1-56
[Issue Type] Enhancement

Change-Id: I44aaff0db4ff7bbbf2041228ca9e5b897f50a71a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio.spec
src/modules/stream-interaction.c