To use the ltmmSampleSource Object perform the following steps:
Create an instance of the ltmmSampleSource object, by creating an instance of the IltmmSampleSource interface.
Create an ltmmMediaType object.
Set the media type attributes through the IltmmMediaTypeDisp interface.
Assign the media type to the source by calling the SetMediaType function.
Assign the source to the ltmmConvert or ltmmPlay objects using the IltmmConvert::put_SourceObject or the IltmmPlay::put_SourceObject function.
Run the object (IltmmConvert::StartConvert or IltmmPlay::Run).
Feed samples until the "end of stream":
Inform the object at the "end of stream" by calling DeliverEndOfStream.
Stop the object by calling IltmmConvert::StopConvert or IltmmPlay::Stop.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document