Home
last modified time | relevance | path

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

/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp36 , mBurstBuffer(NULL) in SPDIFEncoder()
69 mBurstBuffer = new uint16_t[mBurstBufferSizeBytes >> 1]; in SPDIFEncoder()
80 delete[] mBurstBuffer; in ~SPDIFEncoder()
112 LOG_ALWAYS_FATAL_IF((mBurstBuffer == NULL), "mBurstBuffer never allocated"); in writeBurstBufferShorts()
121 memcpy(&mBurstBuffer[mByteCursor >> 1], buffer, bytesToWrite); in writeBurstBufferShorts()
146 uint16_t pad = mBurstBuffer[mByteCursor >> 1]; in writeBurstBufferBytes()
150 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
159 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
196 mBurstBuffer[3] = mFramer->convertBytesToLengthCode(numBytes); in flushBurstBuffer()
201 ssize_t res = writeOutput(mBurstBuffer + bytesWritten, mByteCursor - bytesWritten); in flushBurstBuffer()
[all …]
/system/media/audio_utils/include/audio_utils/spdif/
DSPDIFEncoder.h97 uint16_t *mBurstBuffer; // ALSA wants to get SPDIF data as shorts. variable