Microsoft DirectX 8.1 (C++)

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.

See Also