stream-manager: Add conditions not to notify stream connection/disconnection twice 27/229427/1
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 1 Apr 2020 00:02:46 +0000 (09:02 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 1 Apr 2020 04:49:39 +0000 (13:49 +0900)
commit975b8a22fe5ce82af024d828e549274d400d185d
tree812f6c588cc5e8c24023bc57226ecdd221646337
parent651edd1613601ab33064ede1fbb87ff297f5d82a
stream-manager: Add conditions not to notify stream connection/disconnection twice

This notification invokes HAL function for stream connection changed.
There were cases that this functions is invoked twice unintentionally
according to the scenario related to calling cork/uncork from client
side. For example, gstreamer pulsesink and playbacks from sound-server.

It is now fixed to trigger the notification one at a time properly.

[Version] 13.0.8
[Issue Type] Improvement

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