Searched refs:bytesToWrite (Results 1 - 1 of 1) sorted by relevance

/system/media/audio_utils/spdif/
H A DSPDIFEncoder.cpp109 size_t bytesToWrite = numShorts * sizeof(uint16_t); local
110 if ((mByteCursor + bytesToWrite) > mBurstBufferSizeBytes) {
115 memcpy(&mBurstBuffer[mByteCursor >> 1], buffer, bytesToWrite);
116 mByteCursor += bytesToWrite;
129 size_t bytesToWrite = numBytes; local
130 if ((mByteCursor + bytesToWrite) > mBurstBufferSizeBytes) {
136 for (size_t i = 0; i < bytesToWrite; i++) {
252 size_t bytesToWrite = bytesLeft; local
254 if (bytesToWrite > mPayloadBytesPending) {
255 bytesToWrite
[all...]

Completed in 48 milliseconds