Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSession.cpp444 size_t totalRead = 0; in InReadPcmData() local
451 if (availableToRead > (bytes - totalRead)) { in InReadPcmData()
452 availableToRead = bytes - totalRead; in InReadPcmData()
454 if (!mDataMQ->read(static_cast<uint8_t*>(buffer) + totalRead, in InReadPcmData()
456 ALOGE("FMQ datapath reading %zu/%zu failed", totalRead, bytes); in InReadPcmData()
457 return totalRead; in InReadPcmData()
459 totalRead += availableToRead; in InReadPcmData()
466 ALOGD("in data %zu/%zu overflow %d ms", totalRead, bytes, in InReadPcmData()
468 return totalRead; in InReadPcmData()
470 } while (totalRead < bytes); in InReadPcmData()
[all …]