1mlib_SignalLinear2ADPCM2Bitmse(d3iMaLLIiBb)Library Fmulnicbt_iSoingsnalLinear2ADPCM2Bits(3MLIB)
2
3
4

NAME

6       mlib_SignalLinear2ADPCM2Bits - 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_SignalLinear2ADPCM2Bits(mlib_u8 *adpcm,
14            const mlib_s16 *pcm,void *state, mlib_s32 n);
15
16

DESCRIPTION

18       The mlib_SignalLinear2ADPCM2Bits() 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       from2-bit ADPCM to 16-bit linear PCM to G.723 or G.726 16kbps format.
22

PARAMETERS

24       The function takes the following arguments:
25
26       adpcm    ADPCM code array.
27
28
29       pcm      Linear PCM sample 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_SignalADPCM4Bits2Linear(3MLIB),     mlib_SignalAD‐
59       PCM5Bits2Linear(3MLIB),   mlib_SignalADPCMFree(3MLIB),   mlib_SignalAD‐
60       PCMInit(3MLIB),      mlib_SignalLinear2ADPCM3Bits(3MLIB),     mlib_Sig‐
61       nalLinear2ADPCM4Bits(3MLIB),       mlib_SignalLinear2ADPCM5Bits(3MLIB),
62       attributes(5)
63
64
65
66SunOS 5.11                        2 Mar 2007mlib_SignalLinear2ADPCM2Bits(3MLIB)
Impressum