alsa-sink: Adds handling EAGAIN in try_recover 91/233491/7 submit/tizen/20200520.011942
authorJaechul Lee <jcsing.lee@samsung.com>
Fri, 15 May 2020 04:46:10 +0000 (13:46 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Tue, 19 May 2020 04:01:43 +0000 (13:01 +0900)
commit0083d9d17f42ba7498bef1bccf980ee20ddc8449
treee13860c814b86846495083224259bba62b2a9862
parentb29014b10fc4ffc2d76e6344136e4be040e7f0d3
alsa-sink: Adds handling EAGAIN in try_recover

snd_pcm_avail returns a negative value sometimes. It depends on H/W. So,
trying to recover function was added and print out the state of the
buffer.

[Version] 13.0.7
[Issue Type] TSIX-3385

Change-Id: Ia5f97261d6216e2a64e40d0432e03c5c816ba022
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/pulseaudio.spec
src/modules/alsa/alsa-sink.c