Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.3
ISpPhrase2::GetAudio
ISpPhrase2::GetAudio returns the retained audio for the phrase.
HRESULT GetAudio(
ULONG ulStartElement,
ULONG cElements,
ISPStreamFormat **ppStream
);
Parameters
- ulStartElement
Index of the first spphrase element to return audio for. - cElements
The number of elements to return audio for. - ppStream
The returned audio.
Return values
Value |
S_OK |
E_NOTIMPL |
Not supported because the retained audio is in a different format from the engine's format. |
Remarks
This function should only be used on phrases that are being passed to the engine as part of alternates generation.