Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSession.cpp373 size_t totalWritten = 0; in OutWritePcmData() local
380 if (availableToWrite > (bytes - totalWritten)) { in OutWritePcmData()
381 availableToWrite = bytes - totalWritten; in OutWritePcmData()
384 if (!mDataMQ->write(static_cast<const uint8_t*>(buffer) + totalWritten, in OutWritePcmData()
386 ALOGE("FMQ datapath writting %zu/%zu failed", totalWritten, bytes); in OutWritePcmData()
387 return totalWritten; in OutWritePcmData()
389 totalWritten += availableToWrite; in OutWritePcmData()
395 ALOGD("data %zu/%zu overflow %d ms", totalWritten, bytes, in OutWritePcmData()
397 return totalWritten; in OutWritePcmData()
399 } while (totalWritten < bytes); in OutWritePcmData()
[all …]