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.cc447 size_t avail_to_read = mDataMQ->availableToRead(); in ReadAudioData() local
448 if (avail_to_read) { in ReadAudioData()
449 if (avail_to_read > len - total_read) { in ReadAudioData()
450 avail_to_read = len - total_read; in ReadAudioData()
452 if (mDataMQ->read(p_buf + total_read, avail_to_read) == 0) { in ReadAudioData()
457 total_read += avail_to_read; in ReadAudioData()