Home
last modified time | relevance | path

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

/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp43 , mByteCursor(0) in SPDIFEncoder()
109 || (mByteCursor > (mBurstBufferSizeBytes - numBytes)); // (max - n) won't overflow in wouldOverflowBuffer()
117 mByteCursor = (mByteCursor + 1) & ~1; // round up to even byte in writeBurstBufferShorts()
124 memcpy(&mBurstBuffer[mByteCursor >> 1], buffer, bytesToWrite); in writeBurstBufferShorts()
125 mByteCursor += bytesToWrite; in writeBurstBufferShorts()
149 uint16_t pad = mBurstBuffer[mByteCursor >> 1]; in writeBurstBufferBytes()
151 if (mByteCursor & 1 ) { in writeBurstBufferBytes()
153 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
158 mByteCursor++; in writeBurstBufferBytes()
161 if (mByteCursor & 1 ){ in writeBurstBufferBytes()
[all …]
/system/media/audio_utils/include/audio_utils/spdif/
DSPDIFEncoder.h103 size_t mByteCursor; // cursor into data burst variable
/system/media/audio_utils/tests/
Dspdif_tests.cpp45 size_t getByteCursor() const { return mByteCursor; } in getByteCursor()