Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpStream::GetBaseStream
ISpStream::GetBaseStream retrieves the encapsulated IStream object for an instance of the ISpStream object.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetBaseStream(</strong> <strong> IStream</strong> **<em>ppStream</em> <strong>);</strong> </pre>
Parameters
- ppStream
Address of a pointer to the encapsulated IStream that contains an audio stream or text stream.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | The ppStream pointer is invalid or bad. |
SPERR_STREAM_CLOSED | The stream is closed or unavailable. |
S_FALSE | The ISpStream instance has not been initialized with an IStream. |