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