IMediaObjectImpl.InternalGetInputMaxLatency Method

IMediaObjectImpl

An NDoc Documented Class Library

IMediaObjectImpl.InternalGetInputMaxLatency Method 

(Virtual) Retrieves the maximum latency on a specified input stream

protected virtual int InternalGetInputMaxLatency(
   int dwInputStreamIndex,
   out long prtMaxLatency
);

Parameters

dwInputStreamIndex
Input stream number
prtMaxLatency
Latency

Return Value

S_OK for successful completion

Remarks

The latency is the difference between a time stamp on the input stream and the corresponding time stamp on the output stream. The maximum latency is the largest possible difference in the time stamps. The default implementation returns E_NOTIMPL indicating the DMO doesn't support reporting latency.

See Also

IMediaObjectImpl Class | MediaObjectTemplate Namespace