ACP_MESSAGE Structure

Message from the ACP.

Syntax

struct ACP_MESSAGE {
    UINT32 type;
    UINT32 droppedMessageCount;
    union {
        ACP_MESSAGE_AUDIO_FRAME_START audioFrameStart;
        ACP_MESSAGE_FLOWGRAPH_COMPLETED flowgraphCompleted;
        ACP_MESSAGE_SHAPE_COMMAND_BLOCKED shapeCommandBlocked;
        ACP_MESSAGE_COMMAND_COMPLETED commandCompleted;
        ACP_MESSAGE_FLOWGRAPH_TERMINATED flowgraphTerminated;
        ACP_MESSAGE_ERROR error;
    };
};  

Members

type
Message type (refer to ACP_MESSAGE_TYPE).

droppedMessageCount
Count of dropped messages prior to this message.

audioFrameStart
An ACP_MESSAGE_AUDIO_FRAME_START message.

flowgraphCompleted
An ACP_MESSAGE_FLOWGRAPH_COMPLETED message.

shapeCommandBlocked
An ACP_MESSAGE_SHAPE_COMMAND_BLOCKED message.

commandCompleted
An ACP_MESSAGE_COMMAND_COMPLETED message.

flowgraphTerminated
An ACP_MESSAGE_FLOWGRAPH_TERMINATED message.

error
An ACP_MESSAGE_ERROR message.

Requirements

Header: Declared in acphal.h.

Library: Use acphal.lib.