Microsoft Speech SDK
SAPI 5.1
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 determines the size of any buffered data.
HRESULT GetStatus(
SPAUDIOSTATUS *pStatus
);
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. |