Microsoft DirectX 9.0

IAMGraphStreams::SyncUsingStreamOffset

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 S_OK if successsful, or an error code otherwise.

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