CBaseInputPin::ReceiveMultiple
Retrieves the next block of data from the stream. This method behaves much like the IMemInputPin::Receive method, 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
- pSamples
Pointer to an array of samples. - nSamples
Number of samples to process. - nSamplesProcessed
Number of samples processed.
Return Values
Returns an HRESULT value.
Remarks
This member function implements the IMemInputPin::ReceiveMultiple method. It is implemented to call the CBaseInputPin::Receive member function in a loop for nSamples number of iterations.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.