XACT_NOTIFICATION

General XACT notification structure.

typedef struct XACT_NOTIFICATION {
    XACTNOTIFICATIONTYPE type;
    LONG timeStamp;
    PVOID pvContext;
    union {
        XACT_NOTIFICATION_CUE cue;
        XACT_NOTIFICATION_MARKER marker;
        XACT_NOTIFICATION_SOUNDBANK soundBank;
        XACT_NOTIFICATION_WAVEBANK waveBank;
        XACT_NOTIFICATION_VARIABLE variable;
        XACT_NOTIFICATION_GUI gui;
        XACT_NOTIFICATION_WAVE wave;
    };
} XACT_NOTIFICATION, *LPXACT_NOTIFICATION;

typedef const XACT_NOTIFICATION *LPCXACT_NOTIFICATION;

Members

type
Notification type. Can be one of the following values:
Notification Type Member Used
XACTNOTIFICATIONTYPE_CUEPREPARED cue
XACTNOTIFICATIONTYPE_CUEPLAY cue
XACTNOTIFICATIONTYPE_CUESTOP cue
XACTNOTIFICATIONTYPE_CUEDESTROYED cue
XACTNOTIFICATIONTYPE_MARKER marker
XACTNOTIFICATIONTYPE_SOUNDBANKDESTROYED soundBank
XACTNOTIFICATIONTYPE_WAVEBANKDESTROYED waveBank
XACTNOTIFICATIONTYPE_LOCALVARIABLECHANGED variable
XACTNOTIFICATIONTYPE_GLOBALVARIABLECHANGED variable
XACTNOTIFICATIONTYPE_GUICONNECTED gui
XACTNOTIFICATIONTYPE_GUIDISCONNECTED gui
XACTNOTIFICATIONTYPE_WAVEPLAY wave
XACTNOTIFICATIONTYPE_WAVESTOP wave
XACTNOTIFICATIONTYPE_WAVEBANKPREPARED waveBank
timeStamp
Timestamp of notification, in milliseconds.
pvContext
User context (optional).
cue
XACT_NOTIFICATION_CUE structure that contains information about the cue notification.
marker
XACT_NOTIFICATION_MARKER structure that contains information about the marker notification.
soundBank
XACT_NOTIFICATION_SOUNDBANK structure that contains information about the sound bank notification.
waveBank
XACT_NOTIFICATION_WAVEBANK structure that contains information about the wave bank notification.
variable
XACT_NOTIFICATION_VARIABLE structure that contains information about the variable notification.
gui
XACT_NOTIFICATION_GUI structure that contains information about the GUI notification.
wave
XACT_NOTIFICATION_WAVE structure that contains information about the wave notification.

Requirements

Header: Declared in Xact.h.

See Also

XACT Structures