ACX_KEYWORDSPOTTER_CALLBACKS structure (acxelements.h)
The ACX_KEYWORDSPOTTER_CALLBACKS structure identifies the driver callbacks for keyword spotter operations.
Syntax
typedef struct _ACX_KEYWORDSPOTTER_CALLBACKS {
ULONG Size;
PFN_ACX_KEYWORDSPOTTER_RETRIEVE_ARM EvtAcxKeywordSpotterRetrieveArm;
PFN_ACX_KEYWORDSPOTTER_ASSIGN_ARM EvtAcxKeywordSpotterAssignArm;
PFN_ACX_KEYWORDSPOTTER_ASSIGN_PATTERNS EvtAcxKeywordSpotterAssignPatterns;
PFN_ACX_KEYWORDSPOTTER_ASSIGN_RESET EvtAcxKeywordSpotterAssignReset;
} ACX_KEYWORDSPOTTER_CALLBACKS, *PACX_KEYWORDSPOTTER_CALLBACKS;
Members
Size
The length, in bytes, of this callbacks structure.
EvtAcxKeywordSpotterRetrieveArm
The ACX_KEYWORDSPOTTER_RETRIEVE_ARM callback.
EvtAcxKeywordSpotterAssignArm
The ACX_KEYWORDSPOTTER_ASSIGN_ARM callback.
EvtAcxKeywordSpotterAssignPatterns
The ACX_KEYWORDSPOTTER_ASSIGN_PATTERNS callback.
EvtAcxKeywordSpotterAssignReset
The ACX_KEYWORDSPOTTER_ASSIGN_RESET callback.
Remarks
Example
Example usage is shown below.
ACX_KEYWORDSPOTTER_CALLBACKS keywordSpotterCallbacks;
ACX_KEYWORDSPOTTER_CALLBACKS_INIT(&keywordSpotterCallbacks);
keywordSpotterCallbacks.EvtAcxKeywordSpotterRetrieveArm = CodecC_EvtAcxKeywordSpotterRetrieveArm;
keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignArm = CodecC_EvtAcxKeywordSpotterAssignArm;
keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignPatterns = CodecC_EvtAcxKeywordSpotterAssignPatterns;
keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignReset = CodecC_EvtAcxKeywordSpotterAssignReset;
ACX requirements
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.
Requirements
Requirement | Value |
---|---|
Header | acxelements.h |