ISpPhrase2::GetAudio (SAPI 5.3)
Speech API 5.3
ISpPhrase2::GetAudio returns the retained audio for the phrase.
HRESULT GetAudio( ULONG ulStartElement, ULONG cElements, ISPStreamFormat **ppStream );
- Index of the first spphrase element to return audio for.
- The number of elements to return audio for.
- The returned audio.
|S_OK||Function completed successfully.|
|Not supported because the retained audio is in a different format from the engine's format.|
This function should only be used on phrases that are being passed to the engine as part of alternates generation.