Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dclient_interface_aidl.cc626 size_t avail_to_write = data_mq_->availableToWrite(); in WriteAudioData() local
627 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()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dclient_interface_hidl.cc850 size_t avail_to_write = mDataMQ->availableToWrite(); in WriteAudioData() local
851 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()