다음을 통해 공유


CBaseFilter::SetSyncSource

 
Microsoft DirectShow 9.0

CBaseFilter::SetSyncSource

The SetSyncSource method sets a reference clock for the filter. 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