Searched refs:avail_to_write (Results 1 – 2 of 2) sorted by relevance
626 size_t avail_to_write = data_mq_->availableToWrite(); in WriteAudioData() local627 if (avail_to_write) { in WriteAudioData()628 if (avail_to_write > len - total_written) { in WriteAudioData()629 avail_to_write = len - total_written; in WriteAudioData()632 avail_to_write) == 0) { in WriteAudioData()636 total_written += avail_to_write; in WriteAudioData()
850 size_t avail_to_write = mDataMQ->availableToWrite(); in WriteAudioData() local851 if (avail_to_write) { in WriteAudioData()852 if (avail_to_write > len - total_written) { in WriteAudioData()853 avail_to_write = len - total_written; in WriteAudioData()855 if (mDataMQ->write(p_buf + total_written, avail_to_write) == 0) { in WriteAudioData()859 total_written += avail_to_write; in WriteAudioData()