OSDN Git Service

Add read/write timeout to the audio sockets
authorPavlin Radoslavov <pavlin@google.com>
Mon, 2 May 2016 20:40:26 +0000 (13:40 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Mon, 2 May 2016 22:59:03 +0000 (15:59 -0700)
commit8de3f0c9b01f65467d5f1586eb816818bd438a5e
tree5be22659ac5eb191022e2417c7a64cee0fa97d74
parente460c29607ce0681976146159c3aae8fde45ec1b
Add read/write timeout to the audio sockets

Add read/write timeout of 2 seconds when reading/writing
from/to the audio-related control and data sockets.
Also, removed unnecessary poll(POLLOUT), because it is not needed anymore.

Bug: 27996931
Change-Id: Ib214a85f4837760b17cded155464957f56806bd3
audio_a2dp_hw/audio_a2dp_hw.c