The get_StopLatency method retrieves the number of frames to play after encoding.
HRESULT get_StopLatency( long* plLatency );
[out] Pointer to a long that indicates the stop latency value in frames.
If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.
|E_POINTER||0x80004003||The pointer to the stop latency is NULL.|
This value specifies the number of frames, relative to the mark-out time, that you want encoding to continue, which ensures that the last frame of your clip is captured before shutting down the device. For example, sometimes on certain systems, the device stops a little earlier than the mark-out time, so you can indicate a stop latency value to compensate and ensure that all frames are captured.