IMFMediaEngine::GetDefaultPlaybackRate method (mfmediaengine.h)

Gets the default playback rate.

Syntax

double GetDefaultPlaybackRate();

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

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

See also

IMFMediaEngine