Lines Matching refs:SPDIFEncoder
30 const uint16_t SPDIFEncoder::kSPDIFSync1 = 0xF872; // Pa
31 const uint16_t SPDIFEncoder::kSPDIFSync2 = 0x4E1F; // Pb
36 SPDIFEncoder::SPDIFEncoder(audio_format_t format) in SPDIFEncoder() function in android::SPDIFEncoder
76 SPDIFEncoder::SPDIFEncoder() in SPDIFEncoder() function in android::SPDIFEncoder
77 : SPDIFEncoder(AUDIO_FORMAT_AC3) in SPDIFEncoder()
81 SPDIFEncoder::~SPDIFEncoder() in ~SPDIFEncoder()
87 bool SPDIFEncoder::isFormatSupported(audio_format_t format) in isFormatSupported()
101 int SPDIFEncoder::getBytesPerOutputFrame() in getBytesPerOutputFrame()
106 bool SPDIFEncoder::wouldOverflowBuffer(size_t numBytes) const { in wouldOverflowBuffer()
112 void SPDIFEncoder::writeBurstBufferShorts(const uint16_t *buffer, size_t numShorts) in writeBurstBufferShorts()
136 void SPDIFEncoder::writeBurstBufferBytes(const uint8_t *buffer, size_t numBytes) in writeBurstBufferBytes()
166 void SPDIFEncoder::sendZeroPad() in sendZeroPad()
182 void SPDIFEncoder::reset() in reset()
193 void SPDIFEncoder::flushBurstBuffer() in flushBurstBuffer()
207 void SPDIFEncoder::clearBurstBuffer() in clearBurstBuffer()
215 void SPDIFEncoder::startDataBurst() in startDataBurst()
233 size_t SPDIFEncoder::startSyncFrame() in startSyncFrame()
249 ssize_t SPDIFEncoder::write( const void *buffer, size_t numBytes ) in write()