tone-player: Add sink_input_detach callback 13/234513/5 accepted/tizen/unified/20200615.135431 submit/tizen/20200608.021130 submit/tizen/20200610.005134 submit/tizen/20200610.094452 submit/tizen/20200611.012834 submit/tizen/20200611.075746
authorJaechul Lee <jcsing.lee@samsung.com>
Wed, 27 May 2020 01:41:01 +0000 (10:41 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Fri, 29 May 2020 02:34:47 +0000 (11:34 +0900)
commit18b4796906c12d7e65b14372740b8dfc3c7c26ea
tree07b12e56fe5eb5f89e4529ccf6f0ef5026fbfa2c
parent41b023359a6e124e6c2cbb5f9523934fb19532b6
tone-player: Add sink_input_detach callback

sink_input_detach_cb function was added to synchronize I/O and main
thread. This commit fixes the unlink issue(f8cde9099) completely.

In additional, handle_sound_stop returns invalid param error when it is
called with invalid handle.

[Version] 13.0.18
[Issue Type] Bug fix

Change-Id: I1f2ede6c0acc6728e1055317124815db3dbd859c
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/module-sound-player.c
src/module-tone-player.c