Microsoft DirectX 8.1 (C++) |
The SyncUsingStreamOffset method enables or disables synchronization using time-stamp offsets.
Syntax
HRESULT SyncUsingStreamOffset(
BOOL bUseStreamOffset
);
Parameters
bUseStreamOffset
[in] Boolean value indicating whether to use a time-stamp offset. If TRUE, live sources will use a time-stamp offset to synchronize streams.
Return Values
Returns an HRESULT value that depends on the implementation of the interface.
Remarks
By default, the filter graph does not attempt to synchronize live streams by means of time-stamp offsets. Call this method with a value of TRUE if you want the filter graph to determine the maximum latency in the graph and adjust time stamps accordingly. For more information, see IAMPushSource::SetStreamOffset.
See Also