ltmmCaptureCtrl.MasterStream Property

Visual Basic Example

Syntax

object.MasterStream As Long

Remarks

Gets or sets the master stream that other streams must synchronize to after the file is written out. The value must be one of the ltmmCapture_MasterStream Constants.

Different streams in the capture scenario can capture at different rates if you are using separate audio and video capture cards. By specifying a master stream that all others must synchronize to, this method adjusts the frame rate or audio sampling rate to account for drifts in the rates.

To eliminate capture drifts that can occur between audio sampling rates and video frame rates, it is recommended that you use combined audio/video cards for capture of large files.

Assignment could raise an error exception. For more information, refer to the Error Codes.

See Also

Elements:

ltmmCapture_MasterStream Constants

Topics:

Multimedia Properties, Methods and Events