ISpAudio::GetStatus (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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.

HRESULT GetStatus(
  SPAUDIOSTATUS  *pStatus
);

Parameters

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

Return values

ValueDescription
S_OKFunction completed successfully.
E_POINTERpStatus is invalid.
Show: