Home
last modified time | relevance | path

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

/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp39 , mBurstBuffer(NULL) in SPDIFEncoder()
71 mBurstBuffer = new uint16_t[mBurstBufferSizeBytes >> 1]; in SPDIFEncoder()
82 delete[] mBurstBuffer; in ~SPDIFEncoder()
107 LOG_ALWAYS_FATAL_IF((mBurstBuffer == NULL), "mBurstBuffer never allocated"); in writeBurstBufferShorts()
115 memcpy(&mBurstBuffer[mByteCursor >> 1], buffer, bytesToWrite); in writeBurstBufferShorts()
135 uint16_t pad = mBurstBuffer[mByteCursor >> 1]; in writeBurstBufferBytes()
139 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
148 mBurstBuffer[mByteCursor >> 1] = pad; in writeBurstBufferBytes()
185 mBurstBuffer[3] = mFramer->convertBytesToLengthCode(numBytes); in flushBurstBuffer()
188 writeOutput(mBurstBuffer, mByteCursor); in flushBurstBuffer()
[all …]
/system/media/audio_utils/include/audio_utils/spdif/
DSPDIFEncoder.h98 uint16_t *mBurstBuffer; // ALSA wants to get SPDIF data as shorts. variable