30 Dialogic
®
Multimedia Software for ATCA Release 1.0 Release Update, Rev 06 — January 23, 2008
Dialogic Corporation
IPM_AUDIO_CODER_OPTIONS_INFO
AMR and EVRC audio coder options
typedef struct ipm_audio_coder_options_info_tag
{
unsigned int unVersion;
unsigned int unCoderOptions;
unsigned int unParm1;
int nValue1;
unsigned int unParm2;
int nValue2;
} IPM_AUDIO_CODER_OPTIONS_INFO;
Description
This data structure provides additional options when using AMR, EVRC, and QCELP audio
coders. For information about QCELP (available as of Service Update 80), see Section 1.5,
“Support for QCELP Codec”, on page 9.
Note: All unused fields in the IPM_AUDIO_CODER_OPTIONS_INFO structure must be set to 0.
Field Descriptions
The fields of the IPM_AUDIO_CODER_OPTIONS_INFO data structure are described as follows:
Note: For EVRC, where the media type is MEDIATYPE_AUDIO_LOCAL_CODER_OPTIONS_INFO,
all field values are ignored by the firmware.
unVersion
set to IPM_AUDIO_CODER_OPTIONS_INFO_VERSION
unCoderOptions
For AMR coders where the media type is
MEDIATYPE_AUDIO_LOCAL_CODER_OPTIONS_INFO, valid values are:
• CODER_OPT_AMR_EFFICIENT - Minimize the amount of network bandwidth
or
CODER_OPT_AMR_OCTET - Make packet parsing easier for the AMR application
For AMR coders where the media type is
MEDIATYPE_AUDIO_REMOTE_CODER_OPTIONS_INFO, valid values that can be ORed
together are:
• CODER_OPT_AMR_EFFICIENT (see description above)
or
CODER_OPT_AMR_OCTET (see description above)
• CODER_OPT_AMR_CMR_TRACK - Specify that the transmit bit rate should follow the
CMR value in the received packet
or
CODER_OPT_AMR_CMR_LIMIT - Specify that the transmit bit rate should follow the
CMR value in the received packet with a maximum value specified by the preferred bit
rate.
For EVRC, set to CODER_OPT_SIGNALING_OFF.