CSourceSeeking::GetRate
Microsoft DirectShow 9.0 |
CSourceSeeking::GetRate
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.
Value | Description |
S_OK | Success |
E_POINTER | NULL pointer value |
Remarks
The playback rate is specified by the CSourceSeeking::m_dRateSeeking member variable.
Requirements
** Header:** Declared in Ctlutil.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also