Searched refs:avail_to_read (Results 1 – 1 of 1) sorted by relevance
447 size_t avail_to_read = mDataMQ->availableToRead(); in ReadAudioData() local448 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()