IMFMediaEngine::GetDefaultPlaybackRate method
Gets the default playback rate.
Syntax
double GetDefaultPlaybackRate();
Parameters
This method has no parameters.
Return value
Returns the default playback rate, as a multiple of normal (1×) playback. A negative value indicates reverse playback.
Remarks
This method corresponds to getting the defaultPlaybackRate attribute of the HTMLMediaElement interface in HTML5.
The default playback rate is used for the next call to the IMFMediaEngine::Play method. To change the current playback rate, call IMFMediaEngine::SetPlaybackRate.
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