Searched refs:totalWritten (Results 1 – 1 of 1) sorted by relevance
373 size_t totalWritten = 0; in OutWritePcmData() local380 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 …]