LEADTOOLS Multimedia (Leadtools.Multimedia assembly)
LEAD Technologies, Inc

MediaSample Class Members

Properties  Methods 


The following tables list the members exposed by MediaSample.

Public Constructors
 NameDescription
Public ConstructorMediaSample ConstructorInstantiates a MediaSample object.  
Top
Public Properties
 NameDescription
Public PropertyActualDataLengthGets or sets the length of the valid buffer data, in bytes.  
Public PropertyBufferGets a reference for direct access to the media sample buffer.  
Public PropertyBufferSizeGets the size of the sample buffer, in bytes.  
Public PropertyDiscontinuityGets or sets a value indicating whether this sample represents a break in the data stream.  
Public PropertyPrerollGets or sets a value indicating whether the sample is a preroll sample.  
Public PropertySyncPointGets or sets a value indicating whether the beginning of the sample is a synchronization point.  
Top
Public Methods
 NameDescription
Public MethodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  
Public MethodGetDataGets a copy of the actual MediaSample data in the buffer.  
Public MethodGetMediaTimeGets the media start and stop times for this sample.  
Public MethodGetMediaTypeGets the media type, if the media type differs from the previous sample.  
Public MethodGetTimeGets the stream times at which this sample should start and stop.  
Public MethodResetMediaTimeResets the media time.  
Public MethodResetTimeInvalidates the stream time.  
Public MethodSetDataCopies sample data to the buffer.  
Public MethodSetMediaTimeSets the media times for this sample.  
Public MethodSetMediaTypeSets the MediaSample's media type.  
Public MethodSetTimeSets the stream times when this sample should start and stop.  
Top
See Also

Reference

MediaSample Class
Leadtools.Multimedia Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features