Implementing an ltmmCaptureCtrl Object
To implement the ltmmCaptureCtrl Object you should use the following steps:
1. |
Create an instance of the ltmmCaptureCtrl Object Object. |
2. |
Select audio and video capture devices (use ShowDialog to set properties). |
3. |
Optionally, select audio and video compressors (use ShowDialog to set properties). |
4. |
Optionally, select audio and video processors (use ShowDialog to set properties). |
5. |
Specify the media data target (i.e. file). |
6. |
Specify the target format The format to be used for the converted file. This includes the file format, any special settings used by that format, and which audio and/or video codec A COmpressor combined with a DECompressor, or encoder and a decoder, which allows you to both compress and decompress that same data. is to be used for the conversion, and any special settings used by the codecs. (i.e. AVI). |
7. |
Call StartCapture to start the capturing process. |
8. |
Handle ltmmCaptureCtrl events. |
9. |
Call StopCapture when finished. |
See Also