Microsoft DirectX 9.0

IMSVidPlayback.Rate

This topic applies to Windows XP Service Pack 1 only.

The Rate property sets or retrieves the playback rate.

Syntax

objVidPlayback.Rate As Double

Parameters

This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Setting this property to a rate that is not supported by the input source will cause an error.

Return Values

Returns the playback rate, as a ratio to the authored rate. For example, 0.5 means half the normal speed, 1.0 means normal speed, and 2.0 means twice the normal speed.

Remarks

This property is read/write.

See Also