mlib_SignalADPCMInit(3MLIBmediaLib Library Functionmlib_SignalADPCMInit(3MLIB)NAMEmlib_SignalADPCMInit - adaptive differential pulse code modulation
(ADPCM)
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalADPCMInit(void **state);
DESCRIPTION
The mlib_SignalADPCMInit() function creates the internal structure for
the codec for functions that perform adaptive differential pulse code
modulation (ADPCM) in compliance with the ITU (former CCITT) G.721,
G.723, and G.726 specifications.
PARAMETERS
The function takes the following arguments:
state Internal structure of the codec.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns
MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOmlib_SignalADPCM2Bits2Linear(3MLIB), mlib_SignalADPCM3Bits2Lin‐
ear(3MLIB), mlib_SignalADPCM4Bits2Linear(3MLIB), mlib_SignalAD‐
PCM5Bits2Linear(3MLIB), mlib_SignalADPCMFree(3MLIB), mlib_Sig‐
nalLinear2ADPCM2Bits(3MLIB), mlib_SignalLinear2ADPCM3Bits(3MLIB),
mlib_SignalLinear2ADPCM4Bits(3MLIB), mlib_Sig‐
nalLinear2ADPCM5Bits(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_SignalADPCMInit(3MLIB)