ISpRecognizerLite::GetVoiceInfo
Send FeedbackThis 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.
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 Values
| 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
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: itspeech.h
See Also
Send Feedback on this topic to the authors
© 2006 Microsoft Corporation. All rights reserved.
Show: