Searched refs:totalWritten (Results 1 – 1 of 1) sorted by relevance
408 size_t totalWritten = 0; in OutWritePcmData() local415 if (availableToWrite > (bytes - totalWritten)) { in OutWritePcmData()416 availableToWrite = bytes - totalWritten; in OutWritePcmData()419 if (!mDataMQ->write(static_cast<const uint8_t*>(buffer) + totalWritten, in OutWritePcmData()421 ALOGE("FMQ datapath writting %zu/%zu failed", totalWritten, bytes); in OutWritePcmData()422 return totalWritten; in OutWritePcmData()424 totalWritten += availableToWrite; in OutWritePcmData()430 ALOGD("data %zu/%zu overflow %d ms", totalWritten, bytes, in OutWritePcmData()432 return totalWritten; in OutWritePcmData()434 } while (totalWritten < bytes); in OutWritePcmData()[all …]