1mlib_SignalADPCM4Bits2Lineamre(d3iMaLLIiBb)Library Fmulnicbt_iSoingsnalADPCM4Bits2Linear(3MLIB)
2
3
4

NAME

6       mlib_SignalADPCM4Bits2Linear - adaptive differential pulse code modula‐
7       tion (ADPCM)
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_SignalADPCM4Bits2Linear(mlib_s16 *pcm,
14            const mlib_u8 *adpcm, void *state, mlib_s32 n);
15
16

DESCRIPTION

18       The mlib_SignalADPCM4Bits2Linear() function performs adaptive differen‐
19       tial  pulse  code modulation (ADPCM) in compliance with the ITU (former
20       CCITT)  G.721,  G.723,  and  G.726  specifications.  It  converts  data
21       fromG.721 or G.726 32kbps 4-bit ADPCM to 16-bit linear PCM format.
22

PARAMETERS

24       The function takes the following arguments:
25
26       pcm      Linear PCM sample array.
27
28
29       adpcm    ADPCM code array.
30
31
32       state    Internal structure of the codec.
33
34
35       n        Number of samples in the source array.
36
37

RETURN VALUES

39       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
40       MLIB_FAILURE.
41

ATTRIBUTES

43       See attributes(5) for descriptions of the following attributes:
44
45
46
47
48       ┌─────────────────────────────┬─────────────────────────────┐
49       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │Interface Stability          │Committed                    │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │MT-Level                     │MT-Safe                      │
54       └─────────────────────────────┴─────────────────────────────┘
55

SEE ALSO

57       mlib_SignalADPCM2Bits2Linear(3MLIB),         mlib_SignalADPCM3Bits2Lin‐
58       ear(3MLIB),    mlib_SignalADPCM5Bits2Linear(3MLIB),   mlib_SignalADPCM‐
59       Free(3MLIB),           mlib_SignalADPCMInit(3MLIB),           mlib_Sig‐
60       nalLinear2ADPCM2Bits(3MLIB),       mlib_SignalLinear2ADPCM3Bits(3MLIB),
61       mlib_SignalLinear2ADPCM4Bits(3MLIB),                          mlib_Sig‐
62       nalLinear2ADPCM5Bits(3MLIB), attributes(5)
63
64
65
66SunOS 5.11                        2 Mar 2007mlib_SignalADPCM4Bits2Linear(3MLIB)
Impressum