sound-player: Read data from pipe with non-blocking mode 08/46008/3 accepted/tizen/mobile/20150819.235400 accepted/tizen/tv/20150819.235410 accepted/tizen/wearable/20150819.235429 submit/tizen/20150819.063347
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 13 Aug 2015 07:22:39 +0000 (16:22 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 19 Aug 2015 05:57:33 +0000 (14:57 +0900)
commit2c23158e3feac3d6271ce28811200cdd264cd1be
tree3ee7a3ff70ffadd2ee592cb8be5652ae63d47e9a
parenta8526dc41de65cea79d154bbda7aeb60c3a77942
sound-player: Read data from pipe with non-blocking mode

When the client request comes from pipe, it calls read function with non-blocking mode.
It leads to avoid blocking of the context even if the pipe does not work well.
Fix bug for invalid check routine of the return value.

[Version] 5.0-33
[Profile] Common
[Issue Type] Enhance codes

Change-Id: Id62ef8a2f867d21ffaf704577246b96029a67191
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio.spec
src/modules/module-sound-player.c