Microsoft DirectX 8.1 (C++)

IMediaPosition.Rate

The Rate property sets or retrieves the playback rate, relative to normal playback speed.

Syntax

objMediaPosition.Rate As Double

Parameters

This property takes no parameters.

Return Values

Returns the playback rate, as a ratio of the normal speed. Thus, 1.0 is normal playback speed, 0.5 is half speed, and 2.0 is twice speed. Negative rates indicate reverse playback; however, most sources do not support reverse playback.

Remarks

This property is read/write.

See Also