Parent: 1daf36c8f3ecea9452c68ebc3790e1e4aae98841
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-04-17 09:51:17
Tree: a0f5fb5443b9885108cb22a03478407384f0de61
android/hal-audio: Make audio socket non-blocking This patch makes writing to audio socket non-blocking since there's no point in waiting indefinitely to write some data. Instead, we wait no more than 500ms for socket to be ready and just skip packet otherwise.
Diffstat
| M | android/hal-audio.c | | | 191 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 130 insertions(+), 61 deletions(-)