Compartilhar via


CSourceSeeking::GetRate (Compact 2013)

3/26/2014

Retrieves the current playback rate.

Syntax

HRESULT GetRate(
  double* pdRate 
);

Parameters

  • pdRate
    Returned playback rate set to the value in m_dRateSeeking, where 1 is the normal rate.

Return Value

Returns E_POINTER if pdRate is invalid; otherwise, returns S_OK.

Remarks

Set the rate in the CSourceSeeking::SetRate function.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CSourceSeeking Class