ltmmSampleSource.DeliverSample Method

Visual Basic Example

Syntax

object.DeliverSample(TimeOut As Long, MediaSample As ltmmMediaSample)

Remarks

Delivers a sample to an object "downstream" of the Sample Source object.

Users must only pass in samples returned from the ltmmSampleSource.GetSampleBuffer method. Do not pass samples obtained by calling GetSampleBuffer from another object. You should release the sample once it has been delivered, and should not attempt to make any further modifications to the sample.

If the method fails, an error is raised. For more information, refer to the Error Codes.

See Also

Elements:

ltmmSampleSource.DeliverEndOfStream Method, ltmmSampleSource.GetMediaType Method, ltmmSampleSource.GetSampleBuffer Method, ltmmSampleSource.SetMediaType Method

Topic:

ltmmSampleSource Object

 

Implementing an ltmmSampleSource Object