Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmG722DecoderCreate(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dmG722Decode(3dm)

dmG722DecoderDestroy(3dm)



dmG722DecoderCreate(3dm)                              dmG722DecoderCreate(3dm)



NAME
     dmG722DecoderCreate - allocate new DMG722decoder structure


SYNOPSIS
     #include <dmedia/dmaudioutil.h>


     DMstatus dmG722DecoderCreate(DMG722decoder *decoder, int maxsamples, int decodemode)


PARAMETER
     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.


RETURNED VALUE
     If successful, function returns a DMSUCCESS. A DMFAILURE return value
     indicates an error.


DESCRIPTION
     dmG722DecoderCreate(3dm) allocates and initializes an DMG722decoder
     structure. This structure is then used for dmG722Decode(3dm) routine.


NOTE
SEE ALSO
     dmG722Decode(3dm), dmG722DecoderDestroy(3dm), ITU Recommendations G.722.














                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026