Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.27
LEADTOOLS Media Foundation Help

ltmfCapture_Mode Constants

Show in webframe

typedef enum _ltmfCapture_Mode
{
   ltmfCapture_Mode_VideoOrAudio,
   ltmfCapture_Mode_VideoAndAudio,
   ltmfCapture_Mode_Video,
   ltmfCapture_Mode_Audio,
   ltmfCapture_Mode_ManualFrames,
   ltmfCapture_Mode_AutoFrames,
   ltmfCapture_Mode_Still,
   ltmfCapture_Mode_ManualFramesAndAudio,
   ltmfCapture_Mode_AutoFramesAndAudio,
 ltmfCapture_Mode_Mask = 0x000000FF,
 ltmfCapture_Mode_InhibitRun = 0x01000000,
 ltmfCapture_Mode_ModifierMask = 0xFF000000
} ltmfCapture_Mode;

The ltmfCapture_Mode constants define the type of capture to perform.

Constant

Description

ltmfCapture_Mode_VideoOrAudio

[0] Specifies that audio, video, or both should be captured.

ltmfCapture_Mode_VideoAndAudio

[1] Specifies that both, audio and video, should be captured.

ltmfCapture_Mode_Video

[2] Specifies that only video should be captured.

ltmfCapture_Mode_Audio

[3] Specifies that only audio should be captured.

ltmfCapture_Mode_ManualFrames

[4] Specifies that a manually triggered sequence of frames should be captured. The CaptureFrame method can be called to trigger each frame capture.

ltmfCapture_Mode_AutoFrames

[5] Specifies that an automatically triggered sequence of frames should be captured. The put_FrameDelay can be called to set the trigger schedule.

ltmfCapture_Mode_Still

[6] Specifies that still images will be retrieved through calls to GetStillDIB and GetStillPicture.

ltmfCapture_Mode_ManualFramesAndAudio

[7] Specifies that a manually triggered sequence of frames should be captured. The CaptureFrame method can be called to trigger each frame capture. this mode is available when audio stream is presented as will as the video stream.

ltmfCapture_Mode_AutoFramesAndAudio

[8] Specifies that an automatically triggered sequence of frames should be captured. The put_FrameDelay can be called to set the trigger schedule. this mode is available when audio stream is presented as will as the video stream.

lmmCapture_Mode_Mask

[0x000000FF] Used internally to remove mode bits higher than 0x000000FF.

lmmCapture_Mode_InhibitRun

[0x01000000] Specifies that previewing images is inhibited.

lmmCapture_Mode_ModifierMask

[0xFF000000] Used internally to remove modifier bits lower than 0xFF000000.

See Also

IltmfCapture::ReadyCapture

IltmfCapture::StartCapture

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.