Export (0) Print
Expand All

CSourceSeeking.GetRate method

The GetRate method retrieves the playback rate. This method implements the IMediaSeeking::GetRate method.

Syntax


HRESULT GetRate(
   double *pdRate
);

Parameters

pdRate

Pointer to a variable that receives the playback rate.

Return value

Returns one of the HRESULT values listed in the following table.

Return codeDescription
S_OK

Success

E_POINTER

NULL pointer value

 

Remarks

The playback rate is specified by the CSourceSeeking::m_dRateSeeking member variable.

Requirements

Header

Ctlutil.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CSourceSeeking Class

 

 

Community Additions

ADD
Show:
© 2015 Microsoft