IMFMediaEngine::SetDefaultPlaybackRate method

Sets the default playback rate.

Syntax


HRESULT SetDefaultPlaybackRate(
  [in]  double Rate
);

Parameters

Rate [in]

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngine

 

 

Community Additions

ADD
Show:
© 2014 Microsoft