tizenaudio-policy: Set use_internal_codec value of combine sink 83/250283/7
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 23 Dec 2020 05:21:38 +0000 (14:21 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 29 Dec 2020 05:15:28 +0000 (14:15 +0900)
commit942bb6a04dc728200b603d168ac6b85f0d35b296
tree0a560dae28d665d6bf22e450c6e5307823cf17de
parent08182979d2b52cccca3042f5e0c638bf4dc8a226
tizenaudio-policy: Set use_internal_codec value of combine sink

When a stream is finished, routing path should be updated for one
of remaining streams. If one of them is using internal audio codec
with a combine sink, it should also be updated for the stream.

This patch sets the use_internal_codec value of the combine sink to
true when loading the module if needed.

A function to load the combine module is added and applied.

[Version] 13.0.42
[Issue Type] Bug fix / Refactoring

Change-Id: I02950f4df59535039409b9c75c627dc770c66462
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/module-tizenaudio-policy.c