Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Dclient_interface.cc484 size_t avail_to_read = mDataMQ->availableToRead(); in ReadAudioData() local
485 if (avail_to_read) { in ReadAudioData()
486 if (avail_to_read > len - total_read) { in ReadAudioData()
487 avail_to_read = len - total_read; in ReadAudioData()
489 if (mDataMQ->read(p_buf + total_read, avail_to_read) == 0) { in ReadAudioData()
494 total_read += avail_to_read; in ReadAudioData()