UID | title | description | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.lib | req.dll | req.irql | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | targetos | ms.custom | f1_keywords | topic_type | api_type | api_location | api_name | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:eventdetectoroemadapter.IEventDetectorOemAdapter.ComputeAndAddUserModelData |
IEventDetectorOemAdapter::ComputeAndAddUserModelData |
Adds the user specific model data to an existing model data blob. |
audio |
02/25/2019 |
|
IEventDetectorOemAdapter::ComputeAndAddUserModelData, ComputeAndAddUserModelData, IEventDetectorOemAdapter.ComputeAndAddUserModelData, IEventDetectorOemAdapter::ComputeAndAddUserModelData, IEventDetectorOemAdapter.ComputeAndAddUserModelData |
eventdetectoroemadapter.h |
eventdetectoroemadapter.idl |
Windows |
19H1 |
|
|
|
|
|
Adds the user specific model data to an existing model data blob.
[In] - Pointer to IStream bound to model data, updated by this call.
[In] - The DETECTIONEVENTELECTOR that uniquely identifies this model.
[In] - A pointer to an array byte positions of the end of the audio event in the corresponding UserRecording. A value of -1 indicates the position was unavailable.
[In] - Pointer to an array of pointers to the previously verified recordings of the user.
Note that non-standard use of cbSize in WAVEFORMATEX - it is the size of the following PCM data for the user recording.
[In] - Number of recordings.
This method returns HRESULT. It returns S_OK if the function exit successfully. Otherwise it returns:
- E_POINTER- UserModelData pointer is null.
- E_INVALIDARG - the DETECTIONEVENTELECTOR contains an invalid id.
- HRESULT_FROM_WIN32(ERROR_GEN_FAILURE) = unable to complete the processing.
This function is the part of the Event Detector OEM interface to be used for hardware keyword spotters. For more information, see Voice Activation.