mlib_signaladpcminit(3mlib) [sunos man page]
mlib_SignalADPCMInit(3MLIB) mediaLib Library Functions mlib_SignalADPCMInit(3MLIB) NAME
mlib_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 |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_SignalADPCM2Bits2Linear(3MLIB), mlib_SignalADPCM3Bits2Linear(3MLIB), mlib_SignalADPCM4Bits2Linear(3MLIB), mlib_SignalADPCM5Bits2Lin- ear(3MLIB), mlib_SignalADPCMFree(3MLIB), mlib_SignalLinear2ADPCM2Bits(3MLIB), mlib_SignalLinear2ADPCM3Bits(3MLIB), mlib_Sig- nalLinear2ADPCM4Bits(3MLIB), mlib_SignalLinear2ADPCM5Bits(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_SignalADPCMInit(3MLIB)
Check Out this Related Man Page
mlib_SignalLinear2ADPCM5Bits(3MLIB) mediaLib Library Functions mlib_SignalLinear2ADPCM5Bits(3MLIB) NAME
mlib_SignalLinear2ADPCM5Bits - adaptive differential pulse code modulation (ADPCM) SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalLinear2ADPCM5Bits(mlib_u8 *adpcm, const mlib_s16 *pcm, void *state, mlib_s32 n); DESCRIPTION
The mlib_SignalLinear2ADPCM5Bits() function performs adaptive differential pulse code modulation (ADPCM) in compliance with the ITU (former CCITT) G.721, G.723, and G.726 specifications. It converts data from 16-bit linear PCM to G.723 or G.726 40kbps 5-bit ADPCM format. PARAMETERS
The function takes the following arguments: adpcm ADPCM code array. pcm Linear PCM sample array. state Internal structure of the codec. n Number of samples in the source array. 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 |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_SignalADPCM2Bits2Linear(3MLIB), mlib_SignalADPCM3Bits2Linear(3MLIB), mlib_SignalADPCM4Bits2Linear(3MLIB), mlib_SignalADPCM5Bits2Lin- ear(3MLIB), mlib_SignalADPCMFree(3MLIB), mlib_SignalADPCMInit(3MLIB), mlib_SignalLinear2ADPCM2Bits(3MLIB), mlib_Sig- nalLinear2ADPCM3Bits(3MLIB), mlib_SignalLinear2ADPCM4Bits(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_SignalLinear2ADPCM5Bits(3MLIB)