26 IAsyncReader* m_pReader;
27 REFERENCE_TIME m_tStart;
28 REFERENCE_TIME m_tStop;
29 REFERENCE_TIME m_tDuration;
41 DWORD ThreadProc(
void);
47 void CleanupCancelled(
void);
50 HRESULT PauseThread();
53 HRESULT StartThread();
60 __inout REFERENCE_TIME& tCurrent,
61 REFERENCE_TIME tAlignStop,
64 HRESULT CollectAndDeliver(
65 REFERENCE_TIME tStart,
66 REFERENCE_TIME tStop);
68 HRESULT DeliverSample(
69 IMediaSample* pSample,
70 REFERENCE_TIME tStart,
71 REFERENCE_TIME tStop);
86 HRESULT
Connect(IUnknown* pUnk, IMemAllocator* pAlloc, BOOL bSync);
97 IMemAllocator* pAlloc,
98 __inout_opt ALLOCATOR_PROPERTIES * pProps);
102 HRESULT
Seek(REFERENCE_TIME tStart, REFERENCE_TIME tStop);
105 HRESULT
Duration(__out REFERENCE_TIME* ptDuration);
116 return ll & ~(lAlign-1);
121 return (ll + (lAlign -1)) & ~(lAlign -1);
135 virtual HRESULT
Receive(IMediaSample*) PURE;
152 #endif //__PULLPIN_H__