SOUNDDETECTOR_MATCHRESULT structure

This is a driver-defined data structure that expresses the current keyword detector match result status.

Syntax

typedef struct _SOUNDDETECTOR_MATCHRESULT {
  SOUNDDETECTOR_PATTERNHEADER header;
  BYTE                        MatchedData[ANYSIZE_ARRAY];
} SOUNDDETECTOR_MATCHRESULT;

Members

  • header
    Identifies the format and size of the payload. The ID is the same as an ID returned by KSPROPERTY_SOUNDDETECTOR_SUPPORTEDPATTERNS.

  • MatchedData
    Matched keyword pattern data. The format and meaning of this data depends on the keyword pattern type and should be defined by a separate specification for that type. This is typically hardware dependent.

Remarks

The OEM typically defines a private data structure that has a SOUNDDETECTOR_PATTERNHEADER as the first member. The private data structure defines the format of the data for the OEM’s implementation.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016

Header

Ksmedia.h

See also

KSPROPERTY_SOUNDDETECTOR_SUPPORTEDPATTERNS

SOUNDDETECTOR_PATTERNHEADER

 

 

Send comments about this topic to Microsoft