Intel
®
IXP400 Digital Signal Processing (DSP) Software Version 2.5
Media Processing Resource Components
API Reference Manual 15
3.4 Tone Generation Resource Component
Resource Type: XMPR_TNGEN
Media Processing Functions
•
Generating multiple frequency tone signals
• Generating call progress tones
Resource-Specific Control Messages
•
XMSG_TG_PLAY (inbound)
• XMSG_TG_PLAY_FSK (inbound)
• XMSG_TG_PLAY_CMPLT (outbound)
Parameters
Events
None.
Identifier Description and values Attr.
Direct
Write
XPARMID_RES_STATE Current state (0: idle, 1: active) R N
XPARMID_TNGEN_VOL
Tone Generator’s volume adjustment, +15 ~ –20 in 1-dB units.
Default: 0
R/W N
XPARMID_TNGEN_FSK_MOD
FSK modulator mode.
XPARM_TNGEN_FSK_V23 or
XPARM_TNGEN_FSK_B202.
Default:
XPARM_TNGEN_FSK_B202 if country code set to
COUNTRY_CODE_US or COUNTRY_CODE_PRC, otherwise
XPARM_TNGEN_FSK_V23
R/W Y
XPARMID_TNGEN_FSK_CS
CS bit length of FSK modulator (in bit unit).
Default: 300 if country code set to
COUNTRY_CODE_US or
COUNTRY_CODE_PRC, otherwise 0.
R/W Y
XPARMID_TNGEN_FSK_MARK
Mark bit length of FSK modulator (in bit unit).
Default: 180 if country code set to
COUNTRY_CODE_US or
COUNTRY_CODE_PRC, otherwise 100.
R/W Y
XPARMID_TNGEN_FSK_RATE
FSK modulator baud rate (XPARM_TNGEN_FSK_R1200,
XPARM_TNGEN_FSK_R600, XPARM_TNGEN_FSK_R300,
XPARM_TNGEN_FSK_R150 or XPARM_TNGEN_FSK_R75).
Default:
XPARM_TNGEN_FSK_R1200, i.e., 1200 bps
R/W N
XPARMID_TNGEN_FSK_POSTMK
Postmark bit length of FSK modulator (in bit unit)
Default: 72
R/W Y
XPARMID_TNGEN_RFC2833
RFC2833 enable flag.
XPARM_ON or XPARM_OFF.
Default:
XPARM_ON
R/W N