|Microsoft DirectX 9.0|
The ScheduleSample method schedules a sample for rendering.
virtual BOOL ScheduleSample( IMediaSample *pMediaSample );
Pointer to the sample's IMediaSample interface.
Returns TRUE if the sample was scheduled, or FALSE if the sample was dropped.
This method first determines whether the sample should be rendered immediately, rendered in the future, or dropped. (To do so, it calls the CBaseRenderer::GetSampleTimes method.) If the sample should be rendered immediately, the method signals the CBaseRenderer::m_RenderEvent event. If the sample should be rendered in the future, the method calls the IReferenceClock::AdviseTime method for scheduling.