|Microsoft DirectX 9.0|
The SetOutputBuffering method specifies the number of frames rendered in advance during preview.
HRESULT SetOutputBuffering( int nBuffer );
[in] Number of frames to buffer during preview. Must be two or greater.
Returns S_OK if successful, or E_INVALIDARG otherwise.
A larger buffer requires more memory but can result in smoother previewing, especially during effects or transitions that require more time to render. The default buffer is 30 frames.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.