CPullPin Class
A version of this page is also available for
4/8/2010
This class is provided to allow a filter downstream from the source to create a thread and pull a media stream from an asynchronous source filter that supports the IAsyncReader interface.
Typically, this class is implemented on the input pin of a parser filter, because the DirectShow asynchronous reader filter just reads a media stream from a file and provides no parsing.
Protected Data Members
Member | Description |
---|---|
m_pAlloc |
Pointer to the IMemAllocator interface used by the connection. |
Member Functions
Member function | Description |
---|---|
Instructs the pin to start pulling data from the asynchronous reader. |
|
Aligns a LONGLONG value down to the next LONG boundary. |
|
Aligns a LONGLONG value up to the next LONG boundary. |
|
Initiates a connection from this pin to the asynchronous reader. |
|
Constructs a CPullPin object. |
|
Breaks a connection to the asynchronous reader. |
|
Retrieves the total duration of the media stream. |
|
Retrieves the asynchronous reader interface. |
|
Instructs the pin to stop pulling data from the asynchronous reader. |
|
Sets the start and stop times of the media stream. |
Overrideable Member Functions
Member function | Description |
---|---|
Flushes this pin and all downstream pins. |
|
Proposes an allocator for use by the asynchronous reader. |
|
Signals end of flushing operation. |
|
Sends end-of-stream notification downstream. |
|
Handles run-time errors that caused pulling to stop. |
|
Handles the arrival of data from the asynchronous reader. |
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |