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.cpp375 size_t totalWritten = 0; in OutWritePcmData() local
382 if (availableToWrite > (bytes - totalWritten)) { in OutWritePcmData()
383 availableToWrite = bytes - totalWritten; in OutWritePcmData()
386 if (!mDataMQ->write(static_cast<const uint8_t*>(buffer) + totalWritten, in OutWritePcmData()
388 ALOGE("FMQ datapath writting %zu/%zu failed", totalWritten, bytes); in OutWritePcmData()
389 return totalWritten; in OutWritePcmData()
391 totalWritten += availableToWrite; in OutWritePcmData()
397 ALOGD("data %zu/%zu overflow %d ms", totalWritten, bytes, in OutWritePcmData()
399 return totalWritten; in OutWritePcmData()
401 } while (totalWritten < bytes); in OutWritePcmData()
[all …]