IMFMediaEngine::SetPlaybackRate method
Sets the current playback rate.
Syntax
HRESULT SetPlaybackRate( [in] double Rate );
Parameters
- Rate [in]
-
The 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 playbackRate attribute of the HTMLMediaElement interface in HTML5.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
See also