Home
last modified time | relevance | path

Searched refs:pfdUsbPlayback (Results 1 – 1 of 1) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp51 struct pollfd pfdUsbPlayback[2]; variable
727 int err_poll = poll(pfdUsbPlayback, mnfdsPlayback, mtimeOut); in pollForUsbData()
731 pfdUsbPlayback[0].revents = 0; in pollForUsbData()
732 pfdUsbPlayback[1].revents = 0; in pollForUsbData()
736 if (pfdUsbPlayback[1].revents & POLLIN) { in pollForUsbData()
740 pfdUsbPlayback[0].revents = 0; in pollForUsbData()
741 pfdUsbPlayback[1].revents = 0; in pollForUsbData()
750 } else if (pfdUsbPlayback[1].revents & POLLERR || pfdUsbPlayback[1].revents & POLLHUP || in pollForUsbData()
751 pfdUsbPlayback[1].revents & POLLNVAL) { in pollForUsbData()
754 pfdUsbPlayback[0].revents = 0; in pollForUsbData()
[all …]