24 const uint8_t *pPacketData,
26 unsigned *pNumSamples,
30 unsigned cbCodedPacketSize,
void* pAudioBuffer,
31 unsigned cbBufferSize,
unsigned *pcbDecodedSize,
35 unsigned cbAudioSamples,
int* rSamplesConsumed,
36 void* pCodedData,
unsigned cbMaxCodedData,
37 int* pcbCodedSize,
unsigned* pbSendNow);
void * universal_speex_init(const char *fmt, int isDecoder, int samplerate, struct MppCodecFmtpInfoV1_2 *pCodecInfo)
int universal_speex_get_packet_samples(void *handle, const uint8_t *pPacketData, unsigned packetSize, unsigned *pNumSamples, const struct RtpHeader *pRtpHeader)
int universal_speex_free(void *handle, int isDecoder)
Information about concrete codec instance (i.e. with selected fmtp).
Definition: PlgDefsV1.h:202
int universal_speex_encode(void *handle, const void *pAudioBuffer, unsigned cbAudioSamples, int *rSamplesConsumed, void *pCodedData, unsigned cbMaxCodedData, int *pcbCodedSize, unsigned *pbSendNow)
int universal_speex_decode(void *handle, const void *pCodedData, unsigned cbCodedPacketSize, void *pAudioBuffer, unsigned cbBufferSize, unsigned *pcbDecodedSize, const struct RtpHeader *pRtpHeader)