5.0
Common Control Message
This section defines the control messages that can be applied to all the resources.
5.1
Reset Message
Type
XMSG_RESET
Direction
Inbound
Description
Stops the current action and resets the resource to idle state.
typedef struct{
Format
XMsgHdr_t head;/* message header */
} XMsgReset_t;
#define XMSG_MAKE_RESET(pMsg, trans, res, inst) \
{\
Macro
XMSG_MAKE_HEAD(pMsg, trans, res, inst, sizeof(XMsgReset_t),\
XMSG_RESET, 0)\
}
• General acknowledgement message (XMSG_ACK)
Response
• Error message (
Caution
Any intermediate results are discarded.
5.2
Start Message
Type
XMSG_Start
Direction
Inbound
Description
Generic start message. Starts the media-processing functions on a resource.
typedef struct{
Format
XMsgHdr_t head; /* message header */
} XMsgStart_t;
#define XMSG_MAKE_START(pMsg, trans, res, inst) \
{\
Macro
XMSG_MAKE_HEAD(pMsg, trans, res, inst, sizeof(XMsgStart_t),\
XMSG_START, 0)\
}
• General acknowledgement message (XMSG_ACK)
Response
• Error message (XMSG_ERROR) if error.
Caution
This message is not applicable to Tone Generator and Player resources.
API Reference Manual
®
Intel
IXP400 Digital Signal Processing (DSP) Software Version 2.5
) if error.
XMSG_ERROR
Common Control Message
23