hal-interface, stream-manager: Add support for setting volume ratio to HAL 20/203720/4
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 17 Apr 2019 04:39:27 +0000 (13:39 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 18 Apr 2019 03:45:31 +0000 (12:45 +0900)
commit75820156ba2e6e6ea7de54b2fef9b27d256810ac
treef4071b8396c992374e94d6a77ca67119123f07e4
parent5c4fea2100d90600bcecc53458948069b9b4ac01
hal-interface, stream-manager: Add support for setting volume ratio to HAL

It is an extension of the previous patches regarding the
individual volume feature.

The 'ratio' parameter of the new HAL API is calculated
considering master volume ratio, group volume ratio and
individual volume ratio. The two former factors are
affected only when the volume type of the target stream
is not the HAL volume type defined in stream-map.json.

[Version] 11.1.41
[Issue type] New feature

Change-Id: I912a0f6eb1edc3fe33e058ef6290f4aba1267ed0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/hal-interface.c
src/hal-interface.h
src/stream-manager-volume.c
src/stream-manager.c