Home
last modified time | relevance | path

Searched refs:mBurstBuffer (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp38 , mBurstBuffer(NULL) in SPDIFEncoder()
68 mBurstBuffer = new uint16_t[mBurstBufferSizeBytes >> 1]; in SPDIFEncoder()
79 delete[] mBurstBuffer; in ~SPDIFEncoder()
110 memcpy(&mBurstBuffer[mByteCursor >> 1], buffer, bytesToWrite); in writeBurstBufferShorts()
130 uint16_t pad = mBurstBuffer[mByteCursor >> 1]; in writeBurstBufferBytes()
134 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
143 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
180 mBurstBuffer[3] = mFramer->convertBytesToLengthCode(numBytes); in flushBurstBuffer()
183 writeOutput(mBurstBuffer, mByteCursor); in flushBurstBuffer()
190 if (mBurstBuffer) { in clearBurstBuffer()
[all …]
/system/media/audio_utils/include/audio_utils/spdif/
DSPDIFEncoder.h98 uint16_t *mBurstBuffer; // ALSA wants to get SPDIF data as shorts. variable