dmG722DecoderCreate(3dm) dmG722DecoderCreate(3dm)
dmG722DecoderCreate - allocate new DMG722decoder structure
#include <dmedia/dm_audioutil.h>
DMstatus dmG722DecoderCreate(DMG722decoder *decoder, int maxsamples, int decode_mode)
decoder DMG722decoder structure to be allocated.
maxsamples
maximum of the data samples that can be process by
dmG722Decode(3dm) in a single call. The input and output data
format for dmG722Decode(3dm) are 8-bit unsigned char and 16-bit
short, respectively.
decode_mode
G.722 decompression mode. They can be 1, 2, or 3, which
correspond to 64, 56 or 48 kbit/sec for audio coding and 0, 8 or
16 kbit/sec. for data.
If successful, function returns a DM_SUCCESS. A DM_FAILURE return value
indicates an error.
dmG722DecoderCreate(3dm) allocates and initializes an DMG722decoder
structure. This structure is then used for dmG722Decode(3dm) routine.
SEE ALSO
dmG722Decode(3dm), dmG722DecoderDestroy(3dm), ITU Recommendations G.722.
PPPPaaaaggggeeee 1111 [ Back ]
|