Microsoft DirectX 9.0

IAMTimelineGroup::SetOutputBuffering

The SetOutputBuffering method specifies the number of frames rendered in advance during preview.

Syntax

HRESULT SetOutputBuffering(
    int nBuffer
);

Parameters

nBuffer

[in] Number of frames to buffer during preview. Must be two or greater.

Return Value

Returns S_OK if successful, or E_INVALIDARG otherwise.

Remarks

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.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also