Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpAudio::GetStatus

ISpAudio::GetStatus passes back the status of the audio device.

This method determines whether the device is running, stopped, closed, or paused. It also includes various parameters about the audio object, including how much data is buffered.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetStatus(</strong><a runat="server" href="jj127866(v=msdn.10).md"><strong>SPAUDIOSTATUS</strong></a> *<em>pStatus</em> <strong>);</strong> </pre>

Parameters

  • pStatus
    [out] Pointer to an SPAUDIOSTATUS buffer to be filled with the status details.

Return Values

Value Description
S_OK Function completed successfully.
E_POINTER pStatus is invalid.