stream-manager: Add conditions to skip streams that are not running and not linked 67/119267/1
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 16 Mar 2017 07:01:58 +0000 (16:01 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 16 Mar 2017 07:24:43 +0000 (16:24 +0900)
commit1b9ecc25a6a8cf0cf39e5511bfdb6f25108de3b7
treed70e69247e78f8e6ab3356cccace105c131f9502
parent1639809163378903864689b4f0b717b627660d95
stream-manager: Add conditions to skip streams that are not running and not linked

Add conditions in update_the_highest_priority_stream() to skip streams not running
and not linked. Unsetting PA_PROP_MEDIA_ROLE_PRIORITY from a stream that can cause
unwanted behavior is also removed.

[Version] 5.0.140
[Profile] Common
[Issue Type] Bug fix

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