Partager via


SOUNDDETECTOR_PATTERNS structure

SOUNDDETECTOR_PATTERNS is the general format of the items in the KSPROPERTY_SOUNDDETECTOR_PATTERNS value.

Syntax

typedef struct {
  SOUNDDETECTOR_PATTERNHEADER Header;
  BYTE                        PatternData[ANYSIZE_ARRAY];
} ;

Members

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

  • PatternData
    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_PATTERNS

KSPROPERTY_SOUNDDETECTOR_SUPPORTEDPATTERNS

SOUNDDETECTOR_PATTERNHEADER

 

 

Send comments about this topic to Microsoft