KVIrc 5.2.0
Developer APIs
Public Member Functions | Private Attributes | List of all members
DccVoiceAdpcmCodec Class Reference

#include <DccVoiceAdpcmCodec.h>

+ Inheritance diagram for DccVoiceAdpcmCodec:

Public Member Functions

 DccVoiceAdpcmCodec ()
 
virtual void decode (KviDataBuffer *stream, KviDataBuffer *signal)
 
virtual int decodedFrameSize ()
 
virtual void encode (KviDataBuffer *signal, KviDataBuffer *stream)
 
virtual int encodedFrameSize ()
 
virtual ~DccVoiceAdpcmCodec ()
 
- Public Member Functions inherited from DccVoiceCodec
 DccVoiceCodec ()
 
const char * name ()
 
virtual ~DccVoiceCodec ()
 

Private Attributes

ADPCM_statem_pDecodeState
 
ADPCM_statem_pEncodeState
 

Additional Inherited Members

- Protected Attributes inherited from DccVoiceCodec
KviCString m_szName
 

Constructor & Destructor Documentation

◆ DccVoiceAdpcmCodec()

DccVoiceAdpcmCodec::DccVoiceAdpcmCodec ( )

◆ ~DccVoiceAdpcmCodec()

DccVoiceAdpcmCodec::~DccVoiceAdpcmCodec ( )
virtual

References m_pDecodeState, and m_pEncodeState.

Member Function Documentation

◆ decode()

void DccVoiceAdpcmCodec::decode ( KviDataBuffer stream,
KviDataBuffer signal 
)
virtual

◆ decodedFrameSize()

int DccVoiceAdpcmCodec::decodedFrameSize ( )
virtual

Reimplemented from DccVoiceCodec.

References ADPCM_UNPACKED_FRAME_SIZE_IN_BYTES.

◆ encode()

void DccVoiceAdpcmCodec::encode ( KviDataBuffer signal,
KviDataBuffer stream 
)
virtual

◆ encodedFrameSize()

int DccVoiceAdpcmCodec::encodedFrameSize ( )
virtual

Reimplemented from DccVoiceCodec.

References ADPCM_PACKED_FRAME_SIZE_IN_BYTES.

Member Data Documentation

◆ m_pDecodeState

ADPCM_state* DccVoiceAdpcmCodec::m_pDecodeState
private

◆ m_pEncodeState

ADPCM_state* DccVoiceAdpcmCodec::m_pEncodeState
private

The documentation for this class was generated from the following files: