ISpRecognizerLite::GetVoiceInfo
4/8/2010
This method obtains information about the voice samples that are specified by the psth parameter, such as the frequency, size, or bit rate. The information is also passed out with psth.
Syntax
HRESULT GetVoiceInfo (
SPRECOGNITIONMETHOD eRM,
SPTYPEHEADER* psthID,
SPTYPEHEADER* psthSampleInfo
);
Parameters
- eRM
[in] Identifies which recognition method should be used.
psthID
[in] Pointer to information which identifies the sample.Recognition method SPTYPEHEADER type SPRM_CONTINUOUSDIGIT
SPT_BSTR
SPRM_VOICETAG
SPT_DWORD
- psthSampleInfo
[out] Filled in by the speech recognition engine. This is information about the sample.
Return Value
Value | Description |
---|---|
S_OK |
Success |
E_NOTIMPL |
Not implemented. |
SPERR_NOT_FOUND |
The sample identified by psthID is not on the system. |
Otherwise, it returns an appropriate failure code from the return code list.
Remarks
Please contact Microsoft before implementing this function.
Requirements
Header | itspeech.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Smartphone 2002 and later |