Share via


IMediaPosition::get_Rate (Compact 2013)

3/26/2014

This method retrieves the rate of playback relative to normal playback speed.

Syntax

HRESULT get_Rate(
  double* pdRate
);

Parameters

  • pdRate
    [out] Returned rate.

Return Value

Returns an HRESULT value.

Remarks

A rate of 1.0 indicates normal playback speed. A rate of 0.5 indicates half speed. A rate of -1.0 indicates normal speed in reverse.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaPosition Interface