Share via


CBaseMediaFilter::SetSyncSource

 
Microsoft DirectShow 9.0

CBaseMediaFilter::SetSyncSource

The SetSyncSource method sets a reference clock for the object. This method implements the IMediaFilter::SetSyncSource method.

Syntax

  HRESULT SetSyncSource(
    IReferenceClock *pClock
);

Parameters

pClock

Pointer to the clock's IReferenceClock interface, or NULL.

Return Value

Returns S_OK.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also