mediaLib Library Functions mlibSignalADPCM5Bits2Linear(3MLIB)
NAME
mlibSignalADPCM5Bits2Linear - adaptive differential pulse
code modulation (ADPCM)
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibSignalADPCM5Bits2Linear(mlibs16 *pcm,
const mlibu8 *adpcm, void *state, mlibs32 n);
DESCRIPTION
The mlibSignalADPCM5Bits2Linear() function performs adap-
tive differential pulse code modulation (ADPCM) in compli-
ance with the ITU (former CIT) G.721, G.723, and G.726
specifications. It converts data fromG.723 or G.726 40kbps
5-bit ADPCM to 16-bit linear PCM format.
PARAMETERS
The function takes the following arguments:
pcm Linear PCM sample array.
adpcm ADPCM code array.
state Internal structure of the codec.
n Number of samples in the source array.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibSignalADPCM5Bits2Linear(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibSignalADPCM2Bits2Linear(3MLIB),
mlibSignalADPCM3Bits2Linear(3MLIB),
mlibSignalADPCM4Bits2Linear(3MLIB),
mlibSignalADPCMFree(3MLIB), mlibSignalADPCMInit(3MLIB),
mlibSignalLinear2ADPCM2Bits(3MLIB),
mlibSignalLinear2ADPCM3Bits(3MLIB),
mlibSignalLinear2ADPCM4Bits(3MLIB),
mlibSignalLinear2ADPCM5Bits(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|