Microsoft Speech SDK Version 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 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
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | pStatus is invalid. |