Partager via


ISpAudio::GetStatus (SAPI 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

Value
S_OK
E_POINTER