Microsoft DirectX 8.1 (C++) |
The SetMasterStream method sets the master stream that other streams must synchronize to after the file is saved to disk.
Syntax
HRESULT SetMasterStream(
LONG iStream
);
Parameters
iStream
[in] Master input stream. Set to 1 to disable.
Return Values
Returns an HRESULT value that depends on the implementation of the interface.
Remarks
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.
See Also