Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Retrieves the next block of data from the stream. This method behaves much like the IMemInputPin::Receivemethod, but it works with multiple samples. Override this function if you can usefully process samples in batches.
HRESULT ReceiveMultiple( IMediaSample ** pSamples , long nSamples , long * nSamplesProcessed );
Parameters
Return Values
Returns an HRESULTvalue.
Remarks
This member function implements the IMemInputPin::ReceiveMultiplemethod. It is implemented to call the CBaseInputPin::Receivemember function in a loop for nSamplesnumber of iterations.