XACT_NOTIFICATION_DESCRIPTION
![]() |
![]() |
XACT_NOTIFICATION_DESCRIPTION
Provides descriptions for registering, unregistering, and flushing notifications.
typedef struct XACT_NOTIFICATION_DESCRIPTION { XACTNOTIFICATIONTYPE type; BYTE flags; IXACTSoundBank *pSoundBank; IXACTWaveBank *pWaveBank; IXACTCue *pCue; IXACTWave *pWave; XACTINDEX cueIndex; XACTINDEX waveIndex; PVOID pvContext; } XACT_NOTIFICATION_DESCRIPTION, *LPXACT_NOTIFICATION_DESCRIPTION; typedef const XACT_NOTIFICATION_DESCRIPTION *LPCXACT_NOTIFICATION_DESCRIPTION;
Members
- type
Notification type. Can be one of the following values: - flags
Flag that describes the notification behavior. Can be 0 or the following: - pSoundBank
Pointer to the IXACTSoundBank instance. If this entry is set to NULL, the notification applies to all sound banks. - pWaveBank
Pointer to the IXACTWaveBank instance (optional). This entry can be NULL, if no wave bank applies. - pCue
Pointer to the IXACTCue instance (optional). This entry can be NULL, if no cue applies. - pWave
Pointer to the IXACTWave instance (optional). The entry can be NULL, if no wave applies. - cueIndex
Cue index. If pSoundBank is NULL, this entry should contain the value XACTINDEX_INVALID. - waveIndex
Wave index. - pvContext
User context (optional). The entry can be NULL, if no user context applies.
Requirements
Header: Declared in Xact.h.
See Also
XACT Structures | IXACTEngine::RegisterNotification, IXACTEngine::UnRegisterNotification, XACTRegisterNotification, XACTUnRegisterNotification