Query: mlib_signalulaw2linear
OS: sunos
Section: 3mlib
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mlib_SignaluLaw2Linear(3MLIB) mediaLib Library Functions mlib_SignaluLaw2Linear(3MLIB)NAMEmlib_SignaluLaw2Linear - ITU G.711 m-law and A-law compression and decompressionSYNOPSIScc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignaluLaw2Linear(mlib_s16 *pcm, const mlib_u8 *ucode, mlib_s32 n);DESCRIPTIONThe mlib_SignaluLaw2Linear() function performs ITU G.711 m-law and A-law compression and decompression in compliance with the ITU (formerly CCITT) G.711 specification.PARAMETERSThe function takes the following arguments: pcm Linear PCM sample array. ucode m-law code array. n Number of samples in the input array.RETURN VALUESThe function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOmlib_SignalALaw2Linear(3MLIB), mlib_SignalALaw2uLaw(3MLIB), mlib_SignalLinear2ALaw(3MLIB), mlib_SignalLinear2uLaw(3MLIB), mlib_Signalu- Law2ALaw(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_SignaluLaw2Linear(3MLIB)