Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/utils/aidl_session/
DBluetoothAudioSession.cpp427 size_t total_read = 0; in InReadPcmData() local
436 if (num_bytes_to_read > (bytes - total_read)) { in InReadPcmData()
437 num_bytes_to_read = bytes - total_read; in InReadPcmData()
439 if (!data_mq_->read(static_cast<MQDataType*>(buffer) + total_read, in InReadPcmData()
441 LOG(ERROR) << "FMQ datapath reading " << total_read << "/" << bytes in InReadPcmData()
443 return total_read; in InReadPcmData()
445 total_read += num_bytes_to_read; in InReadPcmData()
452 LOG(DEBUG) << "Data " << total_read << "/" << bytes << " overflow " in InReadPcmData()
454 return total_read; in InReadPcmData()
456 } while (total_read < bytes); in InReadPcmData()
[all …]