Compartir a través de


IMediaPosition.Rate

 
Microsoft DirectShow 9.0

IMediaPosition.Rate

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

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.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also