ltmmMultiStreamSource.DeliverSample Method

Visual Basic Example 1

Visual Basic Example 2

 

Syntax

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

Remarks

Delivers a sample to a play or convert object "downstream" of the Sample Source object.

Users must only pass in samples returned from the ltmmMultiStreamSource.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.

Platforms

Win32, x64

See Also

Elements:

ltmmMultiStreamSource.StreamCount, ltmmMultiStreamSource.SetMediaType, ltmmMultiStreamSource.GetMediaType, ltmmMultiStreamSource.GetSampleBuffer, ltmmMultiStreamSource.DeliverEndOfStream

Topic:

ltmmMultiStreamSource Object