Microsoft DirectX 9.0

IConfigInterleaving::put_Interleaving

The put_Interleaving method sets the audio preroll time and the frequency of the interleaving.

Syntax

HRESULT put_Interleaving(
  const REFERENCE_TIME *prtInterleave,
  const REFERENCE_TIME *prtPreroll
);

Parameters

prtInterleave

[in] Pointer to the frequency of the streams in the file, in 100-nanosecond units.

prtPreroll

[in] Pointer to the audio preroll, in 100-nanosecond units.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

An audio preroll of 750 milliseconds is recommended when authoring a file for distribution.

The default value for prtInterleave is 1000 milliseconds; however, you can adjust this. The smaller the number, the larger the file.

See Also