IMFMediaEngine::SetDefaultPlaybackRate method (mfmediaengine.h)
Sets the default playback rate.
Syntax
HRESULT SetDefaultPlaybackRate(
[in] double Rate
);
Parameters
[in] Rate
The default playback rate, as a multiple of normal (1×) playback. A negative value indicates reverse playback.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method corresponds to setting the defaultPlaybackRate attribute of the HTMLMediaElement interface in HTML5.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfmediaengine.h |