IMediaSeeking::SetRate (Compact 2013)
3/26/2014
This method sets a new playback rate.
Syntax
HRESULT SetRate(
double dRate
);
Parameters
- dRate
[in] New rate, where 1 is the normal rate, 2 is twice as fast, and so on.
Return Value
Returns an HRESULT value that depends on the implementation of the interface.
The default DirectShow implementation returns S_OK for success, E_INVALIDARG if the parameter is invalid, or VFW_E_UNSUPPORTED_AUDIO if the method is not supported.
Remarks
This method supports server-side playlist streaming over HTTP and Microsoft media server.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |