次の方法で共有


CSourcePosition::get_Rate (Compact 2013)

3/26/2014

Retrieves the rate of playback relative to normal playback speed.

Syntax

HRESULT get_Rate(
  double* pdRate 
);

Parameters

  • pdRate
    Returned rate.

Return Value

Returns E_POINTER if pdRate is invalid. Otherwise, returns S_OK.

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,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CSourcePosition Class