HRESULT AudioStop(WORD wReason);
Notifies the engine that no more data will be coming into the audio stream for an indefinite period of time.
· Return value is ignored.
wReason
[in] Reason the audio data has stopped. This parameter can be one of these values:
IANSRSN_EOF | An end-of-file character has been reached. |
IANSRSN_INACTIVE | The device has become inactive for an unknown reason. |
IANSRSN_NODATA | The engine called the IAudio::UnClaim member function. This notification allows the engine to employ the notification sink to monitor the object's state rather than having to maintain this information itself. |
IANSRSN_PRIORITY | Resources were temporarily diverted to a higher-priority task. |