Intel IXP400 Car Stereo System User Manual


 
Intel
®
IXP400 Digital Signal Processing (DSP) Software Version 2.5
Configuration and Initialization
42 API Reference Manual
Warning: New tone detection criterion must be added during the initialization before
xDspSysInit().
8.4 Getting DSP Resource Configuration and Routing Information
Description
The user’s applications can call this function any time after xDspSysInit () to obtain the DSP
resource configuration and the stream IDs assigned to the T-Ports of each type of the resources. The
/* segment data for tone detection template. */
typedef struct {
UINT16 type; /* tone type (single or dual frequency tone) */
UINT16 criteria; /* loose, medium or tight, use medium for normal
case, use loose to get higher detection probability
in poor SNR, use tight to get lower false
detection probability in good SNR */
UINT16 freqLowA; /* low bound of the 1st frequency in Hz */
UINT16 freqHighA; /* high bound of the 1st frequency in Hz */
UINT16 freqLowB; /* low bound of the 2nd frequency in Hz */
UINT16 freqHighB; /* high bound of the 2nd frequency in Hz */
INT16 ampLowA; /* low level of the 1st frequency in dBm */
INT16 ampHighA; /* high level of the 1st frequency in dBm
If both low and high are set to 0, the default
full range is applied */
INT16 ampLowB; /* low level of the 2nd frequency in dBm */
INT16 ampHighB; /* high level of the 2nd frequency in dBm,
If both low and high are set to 0, the default
full range is applied */
UINT8 attributes; /* attribute (report the tone on, tone off or
both on/off) */
} XTDToneInfo_t;
Prototype
void xDspGetResConfig(XDSPResConfig_t *pCfgInfo)
Input pCfgInfo – Pointer to DSP configuration data structure
Output The resource configuration and the assignment of the routing streams
Return None