Szerkesztés

Megosztás a következőn keresztül:


PKEY_FX_KeywordDetector_StreamEffectClsid

In Windows 10 and later, the PKEY_FX_KeywordDetector_StreamEffectClsid property key identifies the stream effect (SFX) supported for the keyword detector by the driver. The driver developer should specify the single stream effects that their driver supports for the keyword detector pin.

The INF file property key instructs the audio endpoint builder to set the CLSIDs for endpoint APOs into the effects property store. This information is used to build the audio graph that will be used to inform upper level apps what effects are in place.

INF File Sample

An INF file specifies settings for an audio endpoint device in the add-registry section for that device. The following INF example shows the strings and add-registry sections that loads the APO for a keyword detector stream effect into the registry.

[Strings]
PKEY_FX_KeywordDetector_StreamEffectClsid   = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},8"
...
; Driver developers should replace this CLSIDs with that of their own APO
FX_KEYWORD_STREAM_CLSID      = "{00000000-0000-0000-0000-000000000000}"
...
[SWAPAPO.AddReg]
HKR,"FX\\0",%PKEY_FX_KeywordDetector_StreamEffectClsid%,,%FX_KEYWORD_STREAM_CLSID%

Media-Class INF Extensions